Support for Kubernetes version 1.27.2

Container Engine for Kubernetes now supports Kubernetes version 1.27.2, in addition to versions 1.26.2 and 1.25.4. Oracle recommends you upgrade your Kubernetes environment to version 1.27.2. For more information about Kubernetes 1.27.2, see the Kubernetes Changelog.

Note that the upstream Kubernetes project deprecated pod security policies in Kubernetes version 1.21, and removes the feature in Kubernetes version 1.25. If you require similar functionality, consider using Kubernetes pod security standards instead (along with the Privileged, Baseline, and Restricted policies). For more information about Kubernetes pod security standards, and the PodSecurity admission controller, see Pod Security Standards in the Kubernetes documentation. Alternatively, consider using other alternatives that are being developed in the Kubernetes ecosystem to enforce policies.

Also note the following:

  • With the availability of support for Kubernetes version 1.27.2, Container Engine for Kubernetes will cease support for Kubernetes versions 1.24.1 on September 26, 2023. As a result, you will no longer be able to:
    • Create new clusters running Kubernetes versions 1.24.1.
    • Add new node pools to existing clusters running Kubernetes versions 1.24.1.
  • If you currently have existing clusters running Kubernetes version 1.24.1 or earlier, Oracle strongly recommends you immediately upgrade those clusters to Kubernetes versions 1.27.2, 1.26.2, or 1.25.4. You can upgrade control plane nodes through unsupported minor versions. Kubernetes requires that you upgrade control plane nodes one minor version at a time. For example, if a control plane node is running Kubernetes version 1.22.5 (an unsupported minor version), you must upgrade it to Kubernetes version 1.23.4 (also an unsupported minor version), before upgrading it to 1.24.1.
  • Clusters that are not upgraded will continue to function as expected. However, they will no longer be supported.
  • Virtual nodes are supported in new clusters running Kubernetes version 1.27.2. However, upgrading existing clusters with virtual nodes to Kubernetes version 1.27.2 is not yet supported.

To upgrade a cluster to a new Kubernetes minor version:

  1. Upgrade the Kubernetes version running on the control plane by following the instructions in Upgrading the Kubernetes Version on Control Plane Nodes in a Cluster.
  2. Having upgraded the control plane, upgrade the Kubernetes version running on worker nodes in a node pool by following the instructions in Upgrading the Kubernetes Version on Worker Nodes in a Cluster.

Note:

Always follow the Kubernetes skew policy for Kubernetes minor version support.

Example skew policy:

  • Kubernetes control plane nodes are at version 1.27.2
  • Kubernetes worker nodes must be at version 1.27.2, 1.26.2, or 1.25.4

Note that although the worker nodes in a node pool must follow the Kubernetes skew policy, you do not have to upgrade them one minor version at a time.

For more information, see Upgrading Clusters to Newer Kubernetes Versions.