We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an object is changed, Fleet detects the diff but does nothing to converge to a healthy state.
When spec.correctDrift.enabled=true, I expect Fleet to try and apply changes as soon as there is a diff.
spec.correctDrift.enabled=true
Have Rancher v2.8.1 installed.
In Rancher, click "Continuous Delivery" and "Git Repos" and select the "fleet-local" workspace.
Add a GitRepo that applies some resource. Make sure to check "Enable Self-Healing" to set spec.correctDrift.enabled=true in the bundle.
Wait for the GitRepo to sync and become healthy, with the new resource created and in state "Ready".
Edit the resource using kubectl edit, e.g. delete a label or something.
kubectl edit
Observe new state "Modified" for the resource:
- Architecture: amd64 - Fleet Version: The one that's bundled with Rancher v2.8.1. - Cluster: - Provider: RKE2 - Options: 3 nodes upstream cluster - Kubernetes Version: 1.27.9
No response
It looks like #1594 tried to implement drift correction, but it's clearly not working.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Current Behavior
If an object is changed, Fleet detects the diff but does nothing to converge to a healthy state.
Expected Behavior
When
spec.correctDrift.enabled=true
, I expect Fleet to try and apply changes as soon as there is a diff.Steps To Reproduce
Have Rancher v2.8.1 installed.
In Rancher, click "Continuous Delivery" and "Git Repos" and select the "fleet-local" workspace.
Add a GitRepo that applies some resource. Make sure to check "Enable Self-Healing" to set
spec.correctDrift.enabled=true
in the bundle.Wait for the GitRepo to sync and become healthy, with the new resource created and in state "Ready".
Edit the resource using
kubectl edit
, e.g. delete a label or something.Observe new state "Modified" for the resource:
Environment
Logs
No response
Anything else?
It looks like #1594 tried to implement drift correction, but it's clearly not working.
The text was updated successfully, but these errors were encountered: