- Services: Container Engine for Kubernetes
- Release Date: Jan. 17, 2023
Container Engine for Kubernetes now supports Kubernetes version 1.25.4, in addition to versions 1.24.1 and 1.23.4. Oracle recommends you upgrade your Kubernetes environment to version 1.25.4. For more information about Kubernetes 1.25.4, 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.25.4, Container Engine for Kubernetes will cease support for Kubernetes versions 1.22.5 on February 22, 2023. As a result, you will no longer be able to:
- Create new clusters running Kubernetes versions 1.22.5.
- Add new node pools to existing clusters running Kubernetes versions 1.22.5.
- If you currently have existing clusters running Kubernetes version 1.22.5 or earlier, Oracle strongly recommends you immediately upgrade those clusters to Kubernetes versions 1.25.4, 1.24.1, or 1.23.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.20.11 (an unsupported minor version), you must upgrade it to Kubernetes version 1.21.5 (also an unsupported minor version), before upgrading it to 1.22.5.
- Clusters that are not upgraded will continue to function as expected. However, they will no longer be supported.
To upgrade a cluster to a new Kubernetes minor version:
- 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.
- 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.
Always follow the Kubernetes skew policy for Kubernetes minor version support.
Example skew policy:
- Kubernetes control plane nodes are at version 1.25.4
- Kubernetes worker nodes must be at version 1.25.4, 1.24.1, or 1.23.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.