Hello,
I wonder what are the best practices to upgrade my cluster k8s v1.9.2 to a major version, what should I do first and what I shouldn’t do ? and what are the risque to destroy everything ? are they any guide to follow ?
Knowing that k8s components are running as Pod and not as systemd
The upgrade process really depends on how its provisioned and managed in the first place. – However you really can’t jump major versions during an upgrade, you should goto 1.10, then 1.11, 1.12, and finally 1.13.
You generally want to ensure that etcd and the apiserver are upgraded first before the other components. After that it doesn’t matter as much.
After the control plane is updated, the workers can be updated. You want to ensure the entire cluster is up to the same version before beginning the next upgrade.
Depending on your tooling, much this should be handled for you to some degree.