Replies: 1 comment 14 replies
-
That seems like a reasonable procedure. When you say that the workers are hung, is it the RKE2 process that's hanging? If so, what is in the logs at the time of the shutdown/hang? |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have the use case to be able to shutdown an RKE2 cluster (all masters and all workers) in case of an power outage during the time the emergency power from batterie is still available (about 10 minutes).
What is the correct procedure to shutdown a whole cluster?
I tried to do a
systemctl stop rke2-server rke2-agent
first on all workers and after about 30 sec to do ashutdown -h now
on all workers. Then I did the same on all master nodes.All the master nodes shut down correctly, but the workers get stucked in shutting down.
After about 30 minutes, I did a hard power down on all workers.
When switching on all again, the cluster comes back online and all apps as well.
But I need a solution to really shutdown all workers the correct way, so I don't have to do it the hard way.
Is there any correct procedure for this? I have searched the web for quite a long time and the only doc I found was https://www.suse.com/support/kb/doc/?id=000020031
This is not possible as I do not have docker as container engine but containerd.
Thank you very much for any help on this.
Beta Was this translation helpful? Give feedback.
All reactions