Skip to content

[Merged by Bors] - Rework operator to meet the new architecture#110

Closed
siegfriedweber wants to merge 31 commits intomainfrom
rework
Closed

[Merged by Bors] - Rework operator to meet the new architecture#110
siegfriedweber wants to merge 31 commits intomainfrom
rework

Conversation

@siegfriedweber
Copy link
Copy Markdown
Member

@siegfriedweber siegfriedweber commented Feb 8, 2022

Description

Operator migrated to the new structure which uses StatefulSets rather than direct Pod management.

Build Actions Status

Closes #43

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)
  • Cargo.toml only contains references to git tags (not specific commits or branches)
  • Helm chart can be installed and deployed operator works (or not applicable)

Once the review is done, comment bors r+ (or bors merge) to merge. Further information

@siegfriedweber siegfriedweber self-assigned this Feb 8, 2022
@siegfriedweber siegfriedweber changed the title Rework Rework operator to meet the new architecture Feb 8, 2022
@siegfriedweber siegfriedweber marked this pull request as ready for review February 9, 2022 07:28
@siegfriedweber siegfriedweber requested a review from a team February 9, 2022 07:28
Copy link
Copy Markdown
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cluster was created successfully, no errors.
Some hints:

  • We should reactivate the monitoring (jmx-exporter) since it was in before the rework as well
  • Expose metrics ports (container and services)
  • Readiness and liveness probes
  • Region server http / ui port not exposed which makes it hard to get to the UI (16030)
  • We could add the scraping label already?

Comment thread rust/operator-binary/src/main.rs Outdated
Comment thread rust/crd/src/lib.rs Outdated
Comment thread rust/operator-binary/src/hbase_controller.rs
Copy link
Copy Markdown
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works. Metrics up and running.

You can ignore the code comments (not that important)

But we need a full example (zookeeper cluster + hdfs + hdfs znode + hbase + hbase znode)

Comment thread rust/operator-binary/src/hbase_controller.rs Outdated
Comment thread rust/operator-binary/src/hbase_controller.rs
Comment thread rust/operator-binary/src/hbase_controller.rs Outdated
Copy link
Copy Markdown
Member

@maltesander maltesander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@siegfriedweber
Copy link
Copy Markdown
Member Author

bors merge

bors bot pushed a commit that referenced this pull request Feb 11, 2022
## Description

Operator migrated to the new structure which uses StatefulSets rather than direct Pod management.

[![Build Actions Status](https://ci.stackable.tech/job/HBase%20Operator%20Integration%20Tests%20(flex)/badge/icon?subject=Integration%20Tests)](https://ci.stackable.tech/view/02%20Component%20Tests%20(flex)/job/HBase%20Operator%20Integration%20Tests%20(flex)/9/)

Closes #43 

## Review Checklist
- [x] Code contains useful comments
- [x] (Integration-)Test cases added (or not applicable)
- [x] Documentation added (or not applicable)
- [x] Changelog updated (or not applicable)
- [x] Cargo.toml only contains references to git tags (not specific commits or branches)
- [x] Helm chart can be installed and deployed operator works (or not applicable)

Once the review is done, comment `bors r+` (or `bors merge`) to merge. [Further information](https://bors.tech/documentation/getting-started/#reviewing-pull-requests)
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Feb 11, 2022

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Rework operator to meet the new architecture [Merged by Bors] - Rework operator to meet the new architecture Feb 11, 2022
@bors bors bot closed this Feb 11, 2022
@maltesander maltesander deleted the rework branch February 14, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework: Move Operator to new structure

2 participants