-
Bug
-
Resolution: Done
-
Major
-
MCE 2.3.0
-
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:
- 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:
- clones
-
ACM-8681 ManagedClusterInfo uses deprecated region/zone labels
- Closed