kubectl apply -f \
'https://install.portworx.com/3.1?comp=pxoperator&kbver=1.27.0&ns=portworx'
watch -n 1 kubectl get po -n portworx
kubectl apply -f \
'https://install.portworx.com/3.1?operator=true&mc=false&kbver=1.27.0&ns=portworx&b=true&iop=6&kd=%2Fdev%2Fsdb&c=px-cluster-f569b596-d70a-4275-8905-b100de676d50&stork=true&csi=false&mon=true&tel=false&st=k8s&promop=true'
watch -n 1 kubectl get po -n portworx
NAME READY STATUS RESTARTS AGE
autopilot-f889b99b-4kh4r 1/1 Running 0 69m
portworx-api-5pszq 1/1 Running 0 68m
portworx-api-c6kxf 1/1 Running 0 68m
portworx-api-jhvfl 1/1 Running 0 68m
portworx-kvdb-cf7jf 1/1 Running 0 63m
portworx-kvdb-p5g6c 1/1 Running 0 64m
portworx-kvdb-rfc8n 1/1 Running 0 63m
portworx-operator-79c764b46d-96hsz 1/1 Running 0 70m
portworx-pvc-controller-7b66b9758f-c9vp5 1/1 Running 0 69m
portworx-pvc-controller-7b66b9758f-nb4nq 1/1 Running 0 69m
portworx-pvc-controller-7b66b9758f-wps6t 1/1 Running 0 69m
prometheus-px-prometheus-0 2/2 Running 0 68m
px-cluster-f569b596-d70a-4275-8905-b100de676d50-l289v 1/1 Running 0 69m
px-cluster-f569b596-d70a-4275-8905-b100de676d50-vghtd 1/1 Running 0 69m
px-cluster-f569b596-d70a-4275-8905-b100de676d50-vztxr 1/1 Running 0 69m
px-prometheus-operator-5d5f6f4df-rs4jq 1/1 Running 0 69m
stork-84d86b7576-4lmx8 1/1 Running 0 69m
stork-84d86b7576-f9lt4 1/1 Running 0 69m
stork-84d86b7576-xs5xx 1/1 Running 0 69m
stork-scheduler-9cbd8768-7877b 1/1 Running 0 69m
stork-scheduler-9cbd8768-vdvfb 1/1 Running 0 69m
stork-scheduler-9cbd8768-wd7sx 1/1 Running 0 69m
vi ~/.bashrc
export PX_POD=$(kubectl get pods -l name=portworx -n portworx -o jsonpath='{.items[0].metadata.name}')
alias pxctl='kubectl exec -it $PX_POD -n portworx -- /opt/pwx/bin/pxctl'
exec $SHELL
pxctl status