-
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
Umbrella issue for In place propagation of changes affecting Kubernetes objects only
proposal implementation
#7731
Comments
/assign |
/triage accepted |
Q: (not 100% sure). As of today rolloutAfter is not implement for MachineDeployments. Because of that we recommend folks to "make an arbitrary change to its spec.template" or use Does this mean to avoid breaking this behavior part of this effort will be to implement xrefs:
|
Q: Do we have to track the following as well?
|
Another thing that must be considered is if to apply in-place propagation to the new/current machine set only or to old machine sets as well |
That's a very good point. I think if we apply it to old MachineSets as well it would essentially break the history/rollback functionality? |
Do not have an answer for this yet but had a similar question in the kcp rollout PR (Ref: #6858 (review)). One thing to consider while using RolloutAfter for triggering manual rollouts is that if a user has already set a RolloutAfter value to a later time we would be overriding that value and the original information will be lost. Also, how about tracking this discussion in a dedicated issue? |
That's a question for the clusterctl PR about the UX of the clusterctl command right? Feel free to move it to a separate issue just wondering how the rolloutAfter topic might impact the current issue. |
/milestone v1.4 |
@ykakarap: You must be a member of the kubernetes-sigs/cluster-api-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Cluster API Maintainers and have them propose you as an additional delegate for this responsibility. 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. |
@ykakarap Thx for updating the issue, gives a great overview! |
@sbueringer @fabriziopandini @ykakarap e2e In-place propagation feature is breaking and potentially disruptive for existing clusters workflows. E.g automation relying on labels to trigger rolling upgrade. |
We are planning to implement RolloutAfter on MachineDeployments, adjust clusterctl accordingly + update the documentation (a corresponding note in the release notes also makes sense I think) |
+1 to what Stefan said and implementing |
@sbueringer @fabriziopandini Can I move all the follow-up items into a separate issues and close this? |
I'm +1 to close/migrate pending items to a follow up issue as soon as the documentation PR is out |
All the follow-up items are moved into separate issues. This issue can now be closed. /close |
@ykakarap: Closing this issue. 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. |
This is an umbrella issue for the implementation of the In place propagation of changes affecting Kubernetes objects only proposal. As the proposal is merged the implementation can now be done.
The work is broken down into:
Propagate labels from Managed Clusters and ClusterClass to the underlying KCP and MachineDeployment objects.
Labels and Annotations should be always synced. Not only at create.
In-place propagation
Fields like labels, annotations,
MinReadySeconds
,NodeDrainTimeout
,NodeVolumeDetachTimeout
,NodeDeletionTimeout
, things that only affect the Kubernetes objects and not the underlying node should not trigger a rollout and be propagated in-place.Follow-up:
rolloutAfter
in MachineDeployments. ✨ MachineDeployment rolloutAfter support #8216clusterctl alpha rollout restart md/md-0
should switch to usingrolloutAfter
Follow-up (can do after v1.4):
disableInPlacePropagation
from KCP reconciler and migrate the affected tests to envtest.disableInPlacePropagation
from KCP reconciler and migrate the affected tests to envtest. #8393FindOldMachineSets
to drop the first return parameter. It is never used.FindOldMachineSets
to drop the first return parameter #8394helperOptions
withssa.FilterObjectInput
.HelperOptions
withssa.FilterObjectInput
#8395ssa.FilterObjectInput
is introduced in ⚠️ in-place propagation from MS to InfraMachine and BootstrapConfig #8060 and can replacehelperOptions
.internal/util/ssa
util functions for better naming consistency #8396IsAllowedPath
->IsPathAllowed
(Ref)IsIgnorePath
->IsPathIgnored
(Ref)IsNotAllowed
(Ref)The text was updated successfully, but these errors were encountered: