Skip to content

Question on Prepare #170

Answered by dweomer
rsliotta asked this question in Q&A
Discussion options

You must be logged in to vote

Hello....

So I have been testing the system upgrade controller and determined their is an issue in MY environment due to the way I have rook setup. Its a small test cluster.

Is there a way to use the prepare block to scale some deployments and statefulsets? Can someone provide an example?

Certainly you can effect state change to your cluster in the prepare container which happens prior to SUC cordoning/draining the node if such is configured. Your best bet to implement this would be to adapt something like what we do for the rancher/rke2-upgrade and rancher/k3s-upgrade containers which are, in a nutshell, minimally scriptable environments that effectively include a compatible kubectl (t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dweomer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #162 on November 24, 2021 21:05.