Replies: 2 comments
-
Looking at the code it seems that the true default is the reboot strategy, unless something else manipulates the env variable before this is run. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The locksmith etcd usage is a bit outdated and anyway not something you would use on Kubernetes because you need node draining. There is https://github.com/flatcar/flatcar-linux-update-operator and https://github.com/kubereboot/kured for that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://www.flatcar.org/docs/latest/setup/releases/update-strategies/#locksmithd-reboot-strategies states
and further on in the page
The readme in https://github.com/flatcar/locksmith states
I'm still wrapping my head around k8s (assuming this is the primary use case and not single node docker hosts) so apologies if these questions are obvious. What is the true default? What does "if etcd is running" mean? Does this just mean if etcd is being used by the control nodes in the cluster? Or does this mean that if the specific node itself is running etcd?
Why would the reboot strategy be made for "highly resilient" applications? If reboot is the default, what is preventing 2 nodes in a 3 node cluster from rebooting at the same time, effectively bringing down the cluster and my applications? Assuming
etcd
is available, wouldn't havingetcd-lock
as the default make more sense to ensure high availability (as mentioned in the locksmith readme)?Beta Was this translation helpful? Give feedback.
All reactions