Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-8844

ManagedClusterInfo uses deprecated region/zone labels[2.2]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • MCE 2.2.11
    • MCE 2.2.0
    • Server Foundation
    • None
    • False
    • None
    • False
    • No
    • Moderate

    Description

      Description of problem:

      ManagedClusterInfo provides node labels for the UI via status.nodeList[].labels.

      These include region/zone labels that have been deprecated since Kubernetes 1.17:
      failure-domain.beta.kubernetes.io/region
      failure-domain.beta.kubernetes.io/zone

      https://kubernetes.io/docs/reference/labels-annotations-taints/#failure-domainbetakubernetesioregion

      The preferred labels to use are. These are not currently captured in the ManagedClusterInfo instances.
      topology.kubernetes.io/region
      topology.kubernetes.io/zone

      Version-Release number of selected component (if applicable):

      All

      How reproducible:

      Most clusters still have the deprecated labels, but some platforms may have switched to using the newer labels exclusively (for example, a Bare Metal cluster installed with Assisted Installer might omit the deprecated labels).

      Steps to Reproduce:

      1. View the YAML for the ManagedClusterInfo for the cluster.

      Actual results:

      The old labels are included, but not the new preferred ones.

      Expected results:

      We should include the new labels. It may be safe to remove the old deprecated labels - need to determine if all supported Kubernetes versions will be using the newer form.

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              zxue@redhat.com ZHAO XUE
              rh-ee-kcormier Kevin Cormier
              Hui Chen Hui Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: