Cluster topology awareness in Tanzu
You can provide your cluster topology information to Portworx using Kubernetes node labels. To understand how Portworx uses these for volumes, refer to this page.
Region and Zone information
Cloud
For Kubernetes clusters on well-known cloud providers, the Kubernetes nodes are prepopulated well-known failure domain labels.
Portworx parses these labels to update its understanding of the cluster topology. Users don't need to perform any additional steps.
Label Name | Purpose |
---|---|
topology.kubernetes.io/region | Region in which the node resides |
topology.kubernetes.io/zone | Zone in which the node resides |
Rack information
To provide rack information to Portworx, you need to label Kubernetes nodes with px/rack=rack1
, where px/rack is the key and rack1 is the value identifying the rack of which the node is a part of. Make sure the label is a string not starting with a special character or a number.