Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetZoneKey ¶
GetZoneKey is a helper function that builds a string identifier that is unique per failure-zone; it returns empty-string for no zone. Since there are currently two separate zone keys:
- "failure-domain.beta.kubernetes.io/zone"
- "topology.kubernetes.io/zone"
GetZoneKey will first check failure-domain.beta.kubernetes.io/zone and if not exists, will then check topology.kubernetes.io/zone
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.