š Do not include BootstrapConfigReady condition for machine Ready c⦠- #13726
š Do not include BootstrapConfigReady condition for machine Ready cā¦#13726apedriza wants to merge 1 commit into
BootstrapConfigReady condition for machine Ready cā¦#13726Conversation
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
This PR is currently missing an area label, which is used to identify the modified component when generating release notes. Area labels can be added by org members by writing Please see the labels list for possible areas. DetailsInstructions 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. |
|
Hi @apedriza. 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 Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
2d482f9 to
d9e89e1
Compare
|
[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. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
ā¦alculation if machine is already `Available` Signed-off-by: apedriza <adripedriza@gmail.com>
d9e89e1 to
6841af7
Compare
|
@fabriziopandini any chance to get this merged? |
|
Top of mind a missing bootstrap config prevents CAPI to determine when to rollout a machine, it will have impact on the capability to perform in place updates (and probably there are more cases where CAPI expects a bootstrap config). Considering this, we should keep BootstrapConfigReady as part of Machine's Ready condition |
|
Agree. I also think it's not a good idea to ignore BootstrapReady as long as Machine is Available. Once the Machine becomes unavailable for any reason we would suddenly include the condition again. |
|
Great, I understand that bootstrap config also plays a role after provisioning, during rollout decisions. This was mainly about making the That said, I don't think there's an issue with bringing that condition back into play if the machine becomes unavailable again for some other reason my concern is specifically about factoring it in while the machine is already available. Depending on where the machine state/phase is, some data should take relevance and others not, from my POV But happy to go with whatever you all think makes more sense here |
Do you have a concrete issue with always using the BootstrapConfigReady condition for Available computation? |
No, I was just confused for a moment about the machine status while I was deleting some config resources |
ā¦alculation if machine is already
AvailableWhat this PR does / why we need it:
Once a Machine becomes Available, the bootstrap config is no longer needed for its operation. This change excludes BootstrapConfigReady from the Ready aggregation once the machine is Available, and tolerates a missing bootstrap config when the node ref is already set.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #