Slide 1

Slide 1 text

Changes to v1.22 and OpenShift 4.9 Kubernetes API deprecations Rob Szumski OpenShift Product Management 1

Slide 2

Slide 2 text

2 Operators that use the beta versions of the following APIs will accordingly need to be updated to use the stable APIs. These APIs are commonly used by Operators: ▸ CustomResourceDefinition (CRD) ▸ ValidatingWebhookConfiguration ▸ MutatingWebhookConfiguration ▸ CertificateSigningRequest API deprecations in v1.22 and OpenShift 4.9

Slide 3

Slide 3 text

3 ▸ Grep for apiextensions.k8s.io/v1beta1 ▸ Use the Operator SDK: operator-sdk bundle validate ./bundle --select-optional suite=operatorframework --optional-values=k8s-version=1.22 How to check your Operator usage?

Slide 4

Slide 4 text

4 How to check your live usage?

Slide 5

Slide 5 text

5 $ oc get apirequestcount.apiserver.openshift.io $ oc get apirequestcount.apiserver.openshift.io/ validatingwebhookconfigurations.v1beta1.admissionregistration.k8s.io NAME REMOVEDINRELEASE CURRENTHOUR LAST24H validatingwebhookconfigurations 1.22 4 362 How to check your live usage?

Slide 6

Slide 6 text

6 ValidatingWebhookConfiguration and MutatingWebhookConfiguration are both automatically addressed by OLM and will be created using the correct API version if they are managed as part of the operator packaging format. ▸ Get this for free from our TLS cert management features used for metrics collection Operator Lifecycle Manager (OLM) autoconversion

Slide 7

Slide 7 text

linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHat 7 Red Hat is the world’s leading provider of enterprise open source software solutions. Award-winning support, training, and consulting services make Red Hat a trusted adviser to the Fortune 500. Thank you