Cluster Topology awareness
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 |
On-premises
You can label Kubernetes nodes with following labels to inform Portworx about region and zone of the nodes.
| Label Name | Purpose |
|---|---|
| px/region | Region in which the node resides |
| px/zone | Zone in which the node resides |