Supported Versions of Kubernetes

When Container Engine for Kubernetes support for a new version of Kubernetes is announced, an older Kubernetes version ceases to be supported.

This topic lists:

Kubernetes Versions Supported by Container Engine for Kubernetes

Container Engine for Kubernetes supports three versions of Kubernetes for new clusters. For a minimum of 30 days after the release of a new Kubernetes version, Container Engine for Kubernetes continues to support the fourth, oldest available version.

Container Engine for Kubernetes supports the following versions of Kubernetes for new clusters:

Kubernetes Version

Supported by Container Engine for Kubernetes?

Notes
1.23.4 Yes Support introduced: May 18, 2022
1.22.5 Yes Support introduced: March 21, 2022
1.21.5 Yes Support introduced: December 9, 2021
1.20.11 Yes, until July 19, 2022 Support introduced: October 8, 2021.

Note that Kubernetes version 1.20.11 will not be supported after July 19, 2022. Therefore, Oracle strongly recommends you upgrade clusters to Kubernetes version 1.23.4, 1.22.5, or 1.21.5.

1.20.8 Yes, until November 7, 2021 Support introduced: July 20, 2021

Note that Kubernetes version 1.20.8 will not be supported after November 7, 2021. Therefore, Oracle strongly recommends you upgrade clusters to Kubernetes version 1.23.4, 1.22.5, or 1.21.5.

Notes about Container Engine for Kubernetes Support for Kubernetes Version 1.22

Note that Kubernetes version 1.22 stopped serving a number of deprecated Kubernetes APIs, including:

  • Webhook resources
  • CustomResourceDefinition
  • APIService
  • TokenReview
  • SubjectAccessReview resources
  • CertificateSigningRequest
  • Lease
  • Ingress
  • IngressClass
  • RBAC resources
  • PriorityClass
  • Storage resources

For more information about migrating from the deprecated APIs, see the Kubernetes Deprecated API Migration Guide.

Notes about Container Engine for Kubernetes Support for Kubernetes Version 1.20

With the announcement of support for Kubernetes version 1.20.8, the container runtime used by Container Engine for Kubernetes changes from Docker to CRI-O. However, you don't have to change any of your existing Docker images because Docker images are Open Container Initiative (OCI) compliant. As far as Kubernetes is concerned, all OCI-compliant images look the same.

Note the following:

  • CRI-O is an implementation of the Kubernetes Container Runtime Interface (CRI), which enables the use of OCI-compatible runtimes. CRI-O can pull your existing Docker images and run them on your Kubernetes version 1.20.8 clusters.
  • When using the Docker runtime, the default configuration captures the standard output and standard error streams of containers using the JSON format. In contrast, CRI-O uses the Logrus format. If you use a logging tool such as Fluentd or Fluent Bit, update the tool's configuration to use a new parser to parse CRI logs. For example:
  • You might have a workflow in a cluster that relies on the underlying docker socket /var/run/docker.sock (a pattern often referred to as Docker in Docker). Starting with Kubernetes version 1.20.8, such a workflow no longer functions.
  • If you previously used the Docker CLI to run commands on a host, you have to use crictl (a CLI for CRI-compatible container runtimes) instead.
  • The upstream Kubernetes project is deprecating Docker as a container runtime after Kubernetes version 1.20.

To find out more:

  • See the Kubernetes 1.20.8 Changelog for more information about Kubernetes 1.20.8
  • See the Dockershim Deprecation FAQ for more information about the deprecation of the dockershim adapter (which previously enabled the kubelet to interact with Docker as if Docker were a CRI-compatible runtime)

Kubernetes Versions Previously Supported by Container Engine for Kubernetes

Container Engine for Kubernetes previously supported the following versions of Kubernetes:

Kubernetes Version

Supported by Container Engine for Kubernetes?

Support Ended
1.19.15 No April 22, 2022
1.19.12 No November 7, 2021
1.19.7 No August 13, 2021
1.18.10 No February 9, 2022
1.17.13 No September 8, 2021
1.17.9 No April 17, 2021
1.16.15 No April 17, 2021
1.15.12 No February 2, 2021
1.15.7 No February 2, 2021
1.14.8 No December 15, 2020
1.13.x No March 21, 2020
1.12.7 No January 29, 2020
1.12.6 No April 15, 2019
1.11.9 No September 9, 2019
1.11.8 No April 15, 2019
1.11.x versions prior to 1.11.8 No March 13, 2019
1.10.x No April 12, 2019
1.9.x No December 11, 2019
1.8.x No September 7, 2018