Closed jflambert closed 3 months ago
You have two choices: change the plan or delete/modify the plan label on the nodes.
If I do delete the plan, it comes back, but no job.
Is this not enough? Forgive my ignorance. Which resource holds this "plan label"?
I should clarify I'm still using v0.13.0
the plan label on the nodes
Which resource holds this "plan label"
Like I said, the nodes.
The label is plan-specific, and includes a hash of the successfully applied plan. This is linked from the readme: https://github.com/rancher/system-upgrade-controller/blob/master/doc/architecture.png
Thank you @brandond for your guidance. If anyone runs into this issue via google, here's how I solved it:
kubectl label node plan.upgrade.cattle.io/my-plan- --all >/dev/null
Describe the solution you'd like I'd like to be able to run the same plan multiple times, even if the version is exactly the same
Additional context Here's what I currently do:
kubectl apply -f plan.yaml --server-side --force-conflicts
plan.yaml
First time I run this, I get a new plan, and a job runs.
Second time I run it, nothing happens. If I do delete the plan, it comes back, but no job.
For various reasons, I'd like the upgrade job to execute again. How can I tell SUC to allow this pattern? I see the plan has
status.latestHash
andstatus.latestVersion
, how can I reset those?