Uploaded image for project: 'Red Hat OpenShift Control Planes'
  1. Red Hat OpenShift Control Planes
  2. CNTRLPLANE-2603

Safe API removal during major cluster upgrades

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None
    • Safe API removal during major cluster upgrades
    • To Do
    • Product / Portfolio Work
    • OCPSTRAT-2815[GA] Version-specific Cluster Upgrade Preflight Checks
    • 100% To Do, 0% In Progress, 0% Done
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None

      Pre-flight checks should check if a major OpenShift upgrade results in API removal. The upgrade should not be allowed until all resources and assets have been removed from the cluster. This will prevent:

      • unexpected user disruption (e.g. DeploymentConfig workloads)
      • orphaned data being left in etcd

      We should also explore adding logic similar to RemoveUnavailableKinds in kube-apiserver to the extension apiservers (openshift-apiserver and oauth-apiserver). Alternatively, we could simply remove the type registration in the extension apiservers. Or both.

      Resource removal will usually be done alongside removing or rewriting all the existing tests that reference these types.

      https://redhat-internal.slack.com/archives/C0A475V81LN/p1769091023061799 for context

              fkrepins@redhat.com Filip Krepinsky
              fkrepins@redhat.com Filip Krepinsky
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: