Help improve this page
To contribute to this user guide, choose the Edit this page on GitHub link that is located in the right pane of every page.
Review release notes for Kubernetes versions on extended support
Amazon EKS supports Kubernetes versions longer than they are supported upstream, with standard support for Kubernetes minor versions for 14 months from the time they are released in Amazon EKS, and extended support for Kubernetes minor versions for an additional 12 months of support (26 total months per version).
This topic gives important changes to be aware of for each Kubernetes version in extended support. When upgrading, carefully review the changes that have occurred between the old and new versions for your cluster.
Kubernetes 1.32
Kubernetes 1.32 is now available in Amazon EKS. For more information about Kubernetes 1.32, see the official release announcement
Important
-
The
flowcontrol.apiserver.k8s.io/v1beta3API version of FlowSchema and PriorityLevelConfiguration has been removed in version1.32. If you are using these APIs, you must update your configurations to use the latest supported version before upgrading. -
ServiceAccount
metadata.annotations[kubernetes.io/enforce-mountable-secrets]has been deprecated in version1.32and will be removed in a future Kubernetes minor version release. It is recommended to use separate namespaces to isolate access to mounted secrets. -
Kubernetes version
1.32is the last version for which Amazon EKS will release Amazon Linux 2 (AL2) AMIs. From version1.33onwards, Amazon EKS will continue to release Amazon Linux 2023 (AL2023) and Bottlerocket based AMIs.
-
The Memory Manager feature has graduated to Generally Available (GA) status in Kubernetes version
1.32. This enhancement provides more efficient and predictable memory allocation for containerized applications, particularly beneficial for workloads with specific memory requirements. -
PersistentVolumeClaims (PVCs) created by StatefulSets now include automatic cleanup functionality. When PVCs are no longer needed, they will be automatically deleted while maintaining data persistence during StatefulSet updates and node maintenance operations. This feature simplifies storage management and helps prevent orphaned PVCs in your cluster.
-
Custom Resource Field Selector functionality has been introduced, allowing developers to add field selectors to custom resources. This feature provides the same filtering capabilities available for built-in Kubernetes objects to custom resources, enabling more precise and efficient resource filtering and promoting better API design practices.
For the complete Kubernetes 1.32 changelog, see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.32.md
Anonymous authentication changes
Starting with Amazon EKS 1.32, anonymous authentication is restricted to the following API server health check endpoints:
-
/healthz -
/livez -
/readyz
Requests to any other endpoint using the system:unauthenticated user will receive a 401 Unauthorized HTTP response. This security enhancement helps prevent unintended cluster access that could occur due to misconfigured RBAC policies.
Note
The public-info-viewer RBAC role continues to apply for the health check endpoints listed above.
Amazon Linux 2 AMI deprecation
Kubernetes version 1.32 is the last version for which Amazon EKS released AL2 AMIs. From version 1.33 onwards, Amazon EKS will continue to release AL2023 and Bottlerocket based AMIs. For more information, see Guide to EKS AL2 & AL2-Accelerated AMIs transition features.
Kubernetes 1.31
Kubernetes 1.31 is now available in Amazon EKS. For more information about Kubernetes 1.31, see the official release announcement
Important
-
The kubelet flag
--keep-terminated-pod-volumesdeprecated since 2017 has been removed as part of the version1.31release. This change impacts how terminated pod volumes are handled by the kubelet. If you are using this flag in your node configurations, you must update your bootstrap scripts and launch templates to remove it before upgrading.
-
The beta
VolumeAttributesClassfeature gate and API resource is enabled in Amazon EKS version1.31. This feature allows cluster operators to modify mutable properties of Persistent Volumes (PVs) managed by compatible CSI Drivers, including the Amazon EBS CSI Driver. To leverage this feature, ensure that your CSI Driver supports theVolumeAttributesClassfeature (for the Amazon EBS CSI Driver, upgrade to version1.35.0or later to automatically enable the feature). You will be able to createVolumeAttributesClassobjects to define the desired volume attributes, such as volume type and throughput, and associate them with your Persistent Volume Claims (PVCs). See the official Kubernetes documentationas well as the documentation of your CSI driver for more information. -
For more information about the Amazon EBS CSI Driver, see Use Kubernetes volume storage with Amazon EBS.
-
-
Kubernetes support for AppArmor
has graduated to stable and is now generally available for public use. This feature allows you to protect your containers with AppArmor by setting the appArmorProfile.typefield in the container’ssecurityContext. Prior to Kubernetes version1.30, AppArmor was controlled by annotations. Starting with version1.30, it is controlled using fields. To leverage this feature, we recommend migrating away from annotations and using theappArmorProfile.typefield to ensure that your workloads are compatible. -
The PersistentVolume last phase transition time feature has graduated to stable and is now generally available for public use in Kubernetes version
1.31. This feature introduces a new field,.status.lastTransitionTime, in the PersistentVolumeStatus, which provides a timestamp of when a PersistentVolume last transitioned to a different phase. This enhancement allows for better tracking and management of PersistentVolumes, particularly in scenarios where understanding the lifecycle of volumes is important.
For the complete Kubernetes 1.31 changelog, see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.31.md
Kubernetes 1.30
Kubernetes 1.30 is now available in Amazon EKS. For more information about Kubernetes 1.30, see the official release announcement
-
Starting with Amazon EKS version
1.30or newer, any newly created managed node groups will automatically default to using Amazon Linux 2023 (AL2023) as the node operating system. For more information about specifiying the operating system for a managed node group, see Create a managed node group for your cluster. -
With Amazon EKS
1.30, thetopology.k8s.aws/zone-idlabel is added to worker nodes. You can use Availability Zone IDs (AZ IDs) to determine the location of resources in one account relative to the resources in another account. For more information, see Availability Zone IDs for your Amazon resources in the Amazon RAM User Guide. -
Starting with
1.30, Amazon EKS no longer includes thedefaultannotation on thegp2 StorageClassresource applied to newly created clusters. This has no impact if you are referencing this storage class by name. You must take action if you were relying on having a defaultStorageClassin the cluster. You should reference theStorageClassby the namegp2. Alternatively, you can deploy the Amazon EBS recommended default storage class by setting thedefaultStorageClass.enabledparameter to true when installing version1.31.0or later of theaws-ebs-csi-driver add-on. -
The minimum required IAM policy for the Amazon EKS cluster IAM role has changed. The action
ec2:DescribeAvailabilityZonesis required. For more information, see Amazon EKS cluster IAM role.
For the complete Kubernetes 1.30 changelog, see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.30.md.