Update RuntimeClass to use k8s 1.25 supported API version

The batch/v1beta1 API version of RuntimeClass is no longer served as of
v1.25
Migrate API clients to use the batch/v1 API version instead which is
available since 1.20.

Note:  It can't be tested until we add back in support for Kata
containers on debian.

Story: 2010368
Task: 47293

Signed-off-by: Sachin Gopala Krishna <saching.krishna@windriver.com>
Change-Id: Id483f97775931d319c4f44113ada1595c74b3aed
This commit is contained in:
Sachin Gopala Krishna 2023-02-07 01:16:36 -05:00
parent c153b65ab3
commit 83bdc62289
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ Then reference this class in the pod spec, as shown in the following example:
::
kind: RuntimeClass
apiVersion: node.k8s.io/v1beta1
apiVersion: node.k8s.io/v1
metadata:
name: kata-containers
handler: kata

View File

@ -28,7 +28,7 @@ runtime class or by annotation.
| | .. code-block:: none |
| | |
| | kind: RuntimeClass |
| | apiVersion: node.k8s.io/v1beta1 |
| | apiVersion: node.k8s.io/v1 |
| | metadata: |
| | name: kata-containers |
| | handler: kata |