Upgrade your EKS hosting cluster using Rancher
This document describes the step-by-step process for upgrading an Amazon EKS cluster managed via Rancher. The order of the steps is critical to ensure a smooth and successful upgrade.
1. Pre-Upgrade Checks
Before initiating the upgrade, perform the following manual checks:
- EKS Addon Version Compatibility:
Check the currently installed EKS addons (e.g.,vpc-cni,kube-proxy,coredns) and validate their compatibility with the target Kubernetes version. As a refrence, use Pre-upgrade Infrastructure Checks - compatibility-checks
2. Update Kubernetes Control Plane
- Log in to Rancher.
- Navigate to Cluster Management.
- Edit the target cluster config with the ⋮ button.
- Under Cluster Options, increment the Kubernetes version by one minor version (e.g., from 1.30 to 1.31).
⚠️ Do not change any other settings.
- Save the changes and wait for the upgrade to complete.
You can monitor the upgrade progress in both Rancher and the AWS EKS console.
3. Upgrade vpc-cni Addon
Once the control plane upgrade is successful and the cluster is in a ready state:
- Check if the vpc-cni addon requires an upgrade.
- If needed, upgrade it via the AWS console or CLI to the default version for your kubernetes version.
4. Upgrade Node Groups
After upgrading vpc-cni:
- Return to Rancher.
- Edit the cluster again.
- Update the Kubernetes version for each node group to match the control plane version.
⚠️ This action will cycle all nodes and cause downtime during the upgrade process.
- Wait until all node groups are upgraded and in a ready state.
5. Upgrade Remaining EKS Addons
Once all nodes are successfully upgraded:
- Check other managed EKS addons (e.g.,
kube-proxy,coredns). - Upgrade them if newer compatible versions are available. Always use the default version for your kubernetes version
6. Post-Upgrade Checks
Perform infrastructure and application post-upgrade validation:
- Validate cluster health and workloads in Rancher.
- Confirm that all critical services and applications are running as expected.
- Run automated or manual tests if applicable.
Notes
- Always follow the minor version upgrade path. Skipping versions is not supported.
- This process assumes the cluster is managed entirely via Rancher.
- Optionally schedule a maintenance window during node group cycling.