-
Notifications
You must be signed in to change notification settings - Fork 347
Description
What would you like to be added:
An option (defaulting to false
) in aws-cloud-controller-manager
to populate the topology.kubernetes.io/zone
label with the Availability Zone ID instead of the zone name.
Why is this needed:
Currently, aws-cloud-controller-manager
sets the topology.kubernetes.io/zone
label using the zone name (e.g., ap-northeast-1a
). However, in clusters composed of EC2 instances from multiple AWS accounts, zone names may not map to the same physical Availability Zone. This leads to incorrect behavior in Kubernetes features that rely on consistent zone labeling.
While support for topology.k8s.aws/zone-id
was added in #300, Kubernetes features like Service Traffic Distribution require the use of the standard topology.kubernetes.io/zone
label and cannot be configured to use a different label.
/kind feature