Skip to main content
Version: 3.1

Enable load balancing

​ ​If you're running Kubernetes in the cloud, you must configure an external load balancer for the Portworx API service on your source and destination clusters.​ An external load balancer is necessary because it assigns a public IP address for accessing Portworx on port 9001 from your worker nodes.


It is recommended that you enable authorization on your Portworx cluster before enabling a load balancer.

​Enable load balancing by running the kubectl edit stc command and adding the annotation to change service type value from nodePort to LoadBalancer as shown below:

kubectl edit stc <stc-name> -n <namespace>
kind: StorageCluster
annotations: "portworx-service:LoadBalancer"

Was this page helpful?