Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57488

[4.18.z] Phase out serving of admissionregistration/v1beta1 for 4.20

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.18.z
    • 4.17.0
    • kube-apiserver
    • None
    • Quality / Stability / Reliability
    • True
    • Hide

      This can move ahead after all the cluster API providers are migrated to v1 on 4.18 (4.20 and 4.19 migrations are done).

      Show
      This can move ahead after all the cluster API providers are migrated to v1 on 4.18 (4.20 and 4.19 migrations are done).
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Deprecated Functionality
    • Hide
      The admissionregistration.k8s.io/v1beta1 API as deprecated in preparation will be removed in OpenShift 4.20.0, users and operators are given notice to transition to the stable admissionregistration.k8s.io/v1 API and this proactive approach helps maintain cluster stability and ensures adherence to supported API versions.
      Show
      The admissionregistration.k8s.io/v1beta1 API as deprecated in preparation will be removed in OpenShift 4.20.0, users and operators are given notice to transition to the stable admissionregistration.k8s.io/v1 API and this proactive approach helps maintain cluster stability and ensures adherence to supported API versions.
    • None
    • None
    • None
    • None

      This is a clone of issue OCPBUGS-55937. The following is the description of the original issue:

      We inadvertently shipped 4.17 with kube-apiserver serving admissionregistration.k8s.io/v1beta1. Users may have grown dependencies here, so we need to do a phased removal with admin ack requirement (begin flagging as deprecated in 4.17.z and stop serving for 4.20 GA).

      Noticed in https://github.com/openshift/api/pull/2249 and introduced in https://github.com/openshift/api/pull/1888 with intent to fix before GA in https://github.com/openshift/cluster-kube-apiserver-operator/pull/1687.

      Checklist:

      1. Register GVRs with deprecated API filter and backport to 4.18.z. Backporting to 4.17.z has little value because the alerts for this condition fire only for "removed in next" and "removed in next EUS".
        1. 4.20.0: https://github.com/openshift/kubernetes/pull/2287
        2. 4.19.z: https://github.com/openshift/kubernetes/pull/2290
        3. 4.18.z: https://github.com/openshift/kubernetes/pull/2333 
      2. Disable serving this GV in cluster-kube-apiserver in 4.20.0+. (https://github.com/openshift/cluster-kube-apiserver-operator/pull/1836)
      3. Require admin ack for 4.19-to-4.20 upgrades (https://github.com/openshift/cluster-version-operator/pull/1193)

       

              Unassigned Unassigned
              openshift-crt-jira-prow OpenShift Prow Bot
              None
              None
              Ke Wang Ke Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: