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

ManagedClusterInfo uses deprecated region/zone labels[MCE 2.3]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • MCE 2.3.7
    • MCE 2.3.0
    • Server Foundation
    • None
    • False
    • None
    • False
    • Moderate
    • No

      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:

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

                Created:
                Updated:
                Resolved: