Use pxctl with security enabled
Summary
This article guides administrators on how to set up pxctl contexts for Portworx clusters with PX-Security enabled. It provides steps for retrieving an admin token and setting up the pxctl context on individual nodes of a Kubernetes or OpenShift cluster. The process involves retrieving the admin token, finding the relevant Portworx pod, and executing commands within the Portworx container using kubectl or oc. Additionally, administrators are reminded that the pxctl context must be refreshed whenever the token expires (24 hours by default) and are provided with a link to documentation on customizing token lifetimes.
Kubernetes Concepts
Portworx Concepts
Read more here: Source link
