Unable to start Portworx on OpenShift

Hello,

I am setting up Portworx first time. I get this error when I run the following command:

error: unable to upgrade connection: container not found (“portworx”)

Command:
PX_POD=$(kubectl get pods -l name=portworx -n kube-system -o jsonpath=’{.items[0].metadata.name}’)

What could I have missed or done wrong?

Thanks,
shahc

kubectl exec $PX_POD -n kube-system – /opt/pwx/bin/pxctl status

Hi,
did you see pod when launch:
kubectl get pods -l name=portworx -n kube-system -o jsonpath=’{.items[0].metadata.name}’
What do you see in PX_POD variable?

echo $PX_POD