-
Notifications
You must be signed in to change notification settings - Fork 181
[WIP] Reconcile remote datacenters independently #2535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@zimnx: GitHub didn't allow me to request PR reviews from the following users: zimnx. Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: zimnx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
b3235c0
to
433e060
Compare
057822f
to
61cac51
Compare
61cac51
to
110646f
Compare
110646f
to
f8a89a1
Compare
d4b239d
to
978ed02
Compare
d651b70
to
9519be5
Compare
3f3824c
to
5487493
Compare
…ster during E2E tests Freamework CleanupInterface which had two responsiblities was split into Cleaner and Collect interfaces. This allows to specify custom collectors for Cluster. ScyllaDBClusters created during E2E tests now register a custom collector for each remote Cluster, collecting Namespaces originating from ScyllaDBCluster object in JustAfterEach step.
…KubernetesCluster healthcheck probes succeeds Previously aggregated Available condition was set to True when there was no ClientHealthcheckControllerAvailable having False status. When access to Kubernetes is broken and then restore, nothing removed this failed condition, hence RemoteKubernetesCluster was constantly not Available. To fix that, healthcheck controller sets this condition according to state of given healthcheck iteration.
Refactors ScyllaDBCluster controller to reconcile each datacenter independenly. Errors or connection issues of down datacenter no longer affects reconcilation of other datacenter.
…center Existing Controller Conditions were changed to represent status of reconcilation of particular Datacenter. On top of these, aggregated per Datacenter Conditions were added.
Test verifies if Operator is able to reconcile healthy datacenters when any is down, and whether it fully reconciles the cluster when down DC is restored.
5487493
to
15fbeb0
Compare
@zimnx: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Refactors ScyllaDBCluster controller to reconcile each datacenter independenly.
Errors or connection issues of down datacenter no longer affects reconcilation of other datacenter.
Requires:
Fixes #2494