→ Back to Home
Kubernetes

Upgrade Amazon EKS clusters with confidence using Kubernetes version rollbacks

AWS has announced a significant enhancement for Amazon EKS, introducing Kubernetes version rollback functionality. This new feature empowers EKS cluster administrators to safely revert their Kubernetes control plane to the immediate prior minor version if issues arise post-upgrade. This rollback option is available for a period of seven days following the completion of an in-place upgrade. Historically, Kubernetes control plane upgrades have been a one-way operation, lacking a native rollback mechanism. This often led organizations to adopt complex and costly mitigation strategies, such as blue/green deployments or extensive manual snapshotting, to ensure recoverability. The absence of a straightforward rollback path frequently caused delays in upgrades, potentially leaving clusters on older versions susceptible to security vulnerabilities and missing out on new features. The new EKS rollback feature directly addresses these challenges by providing an 'undo button' for Kubernetes version upgrades. Before initiating a rollback, Amazon EKS performs automated checks, referred to as 'cluster insights,' to assess the cluster's readiness. These checks cover critical aspects like API compatibility, version skew, and add-on dependencies, flagging any potential issues that could impact the rollback process. For clusters operating in EKS Auto Mode, the rollback capability extends beyond just the control plane; it automatically manages the rollback of worker nodes, adhering to configured disruption budgets. This comprehensive approach ensures that both the control plane and data plane are consistently reverted. However, for self-managed and hybrid nodes, administrators are responsible for manually rolling back their worker nodes. During a rollback, EKS preserves essential cluster data, including etcd data, customer workloads, and persistent volumes, ensuring data integrity and application continuity. This new functionality is available at no additional cost in all commercial AWS Regions where Amazon EKS is offered. A control plane rollback typically takes approximately 20 minutes, similar to the time required for a standard upgrade. By offering a reliable and integrated rollback mechanism, AWS aims to foster more frequent and confident Kubernetes upgrades, thereby improving security posture and operational efficiency for EKS users.
#kubernetes#eks#aws#upgrades#rollback#cluster management#cloud
Read original source