Which Kubernetes API version is included by each OpenShift 4 release?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- Kubernetes
Issue
- What Kubernetes versions are used by each version of OpenShift 4?
- There is an article for OpenShift 3 with info about k8s versions used. What versions of k8s are used by OpenShift 4?
Resolution
Information about the Kubernetes version used by each OpenShift version can be found in the About this release section of the Release Notes (change the version to see the release notes for different OpenShift releases).
There is additional information about the version of different components and tested integrations for OpenShift 4 in the Tested Integrations page.
For convenience, the following table is also provided:
| OpenShift Version | Kubernetes Version |
|---|---|
| 4.20 | 1.33 |
| 4.19 | 1.32 |
| 4.18 | 1.31 |
| 4.17 | 1.30 |
| 4.16 | 1.29 |
| 4.15 | 1.28 |
| 4.14 | 1.27 |
| 4.13 | 1.26 |
| 4.12 | 1.25 |
| 4.11 | 1.24 |
| 4.10 | 1.23 |
| 4.9 | 1.22 |
| 4.8 | 1.21 |
| 4.7 | 1.20 |
| 4.6 | 1.19 |
| 4.5 | 1.18 |
| 4.4 | 1.17 |
| 4.3 | 1.16 |
| 4.2 | 1.14 |
| 4.1 | 1.13 |
Root Cause
Information about the Kubernetes version used by each OpenShift version can be found in the Release Notes for every release.
Diagnostic Steps
It is possible to check the Kubernetes version from a given cluster with the following command:
$ oc version
Client Version: 4.14.53
Kustomize Version: v5.0.1
Server Version: 4.14.53
Kubernetes Version: v1.27.16+03a907c
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.