Skip to main content
Version: 3.2

Prepare your Portworx cluster for asynchronous DR in FlashArray

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

caution

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>

apiVersion: core.libopenstorage.org/v1
kind: StorageCluster
metadata:
annotations:
portworx.io/service-type: "portworx-api:LoadBalancer"
...

You can verify the changes using the kubectl get service command.

kubectl get service -n <namespace>
NAME                        TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                                        AGE
portworx-service LoadBalancer 10.233.56.13 192.0.2.20 9001:30278/TCP,9020:30908/TCP,9021:32598/TCP 18h

Install storkctl

Was this page helpful?