-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: correct version drift limits in cluster-upgrade.md #7994
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello larvacea 👋 Thank you for opening a Pull Request in eksctl
project. The team will review the Pull Request and aim to respond within 1-10 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl
on our website
Kubernetes supports version drift of up-to two minor versions during upgrade | ||
process. So nodes can be up to two minor versions ahead or behind the control plane | ||
Kubernetes supports version drift of up-to two minor versions during the upgrade | ||
process. Nodes can be up to two minor versions behind the control plane |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
process. Nodes can be up to two minor versions behind the control plane | |
process. Nodes can be up to two minor versions behind, but never ahead of, the control plane |
nodes can be upgraded more than one minor version at a time, provided the nodes stay | ||
within two minor versions of the control plane. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nodes can be upgraded more than one minor version at a time, provided the nodes stay | |
within two minor versions of the control plane. | |
nodes can be upgraded more than one minor version at a time, provided their version does not become greater than the control plane version. |
Thank you @larvacea ! Left a couple suggestions to further stress that node version cannot exceed control plane version. |
I've incorporated your suggestions; thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the quick PR, @larvacea.
Correct the description of version drift during upgrade to match the current kubernetes documentation. Node version should not be newer than the cluster version.
Correct the description of version drift during upgrade to match the current kubernetes documentation. Node version should not be newer than the cluster version.
Description
Kubernetes requires that the version of each
kubelet
in a cluster be no newer than the oldestkube-apiserver
in the cluster. A note in cluster-upgrade.md said that a node could be up to two minor versions ahead or behind thecluster version during upgrade.
I encountered this while adding a nodegroup running a 1.31 AMI to a cluster running 1.30: the instance failed during network initialization and could not join the cluster. Upgrading the cluster to 1.31 fixed the problem: the failing nodes were able to join the 1.31 cluster.
Checklist
README.md
, or theuserdocs
directory)area/nodegroup
) and kind (e.g.kind/improvement
)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯