-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
WIP: Implement controller paused condition for core CAPI resources #10364
WIP: Implement controller paused condition for core CAPI resources #10364
Conversation
Welcome @theobarberbany! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @theobarberbany. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
@theobarberbany PTAL comments on the original issue |
de3bbf5
to
76f5ab0
Compare
f040e82
to
e369071
Compare
/area area/provider/core |
@theobarberbany: The label(s) 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/test-infra repository. |
/area provider/core |
4544633
to
588774b
Compare
1975743
to
660227d
Compare
3624ef3
to
3b20a92
Compare
Waiting on: #10550 in order to update the condition with new polarity. |
3b20a92
to
c4dbfce
Compare
/ok-to-test |
@theobarberbany: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
This change updates the types to add a new PausedCondition. It also adds two reasons: ResourcePausedReason, and ResourceNotPausedReason This is to enable controllers to report when a resource is paused. This allows an administrator to work with confidence on a paused object.
This change updates the machine controller to set the paused condition based on if the cluster or machine resource is paused.
This change updates the cluster controller to set the paused condition based on if the cluster is paused.
This change updates the machine set controller to set the paused condition based on if the cluster or machine set resource is paused.
c4dbfce
to
f05ab60
Compare
This change updates the machine health check controller to set the paused condition based on if the cluster or machine health check is paused.
This change updates the machine deployment controller to set the paused condition based on if the cluster or machine deployment has the paused annotations. If the machine deployment is paused a different reason is selected: MachineDeploymentPausedReason
f05ab60
to
dff78de
Compare
PR needs rebase. 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. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@theobarberbany Is this still needed / can we close the PR? I think we implemented Paused conditions on all types via our work on #11105 |
I'm +1 to close, I would prefer to block any work on v1beta1 conditions at this point |
/close based on comments above. Let us know if there is anything missing in the v1bet2a implementation of the Paused condition |
@sbueringer: Closed this PR. 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. |
What this PR does / why we need it:
This PR Adds the Paused condition, and tests to all of the core CAPI resources.
Fixes #10130
/area area/provider/core