Portworx by Pure Storage is a distributed and high available data storage that takes advantage of the local and attached storage provided on each Equinix Metal device. Portworx includes a Container Storage Interface (CSI) driver.
Portworx differentiates between device disks using priority labels that can be applied to create distinct StorageClasses
. See Portworx: Dynamic Provisioning for more details.
Login to any one of the Anthos cluster nodes and run pxctl status
to check the state of the Portworx services.
You can also use the Kubernetes API to check the status:
kubectl get pods -lapp=portworx -n kube-system
Portworx logs can be viewed by running:
kubectl logs -lapp=portworx -n kube-system --all-containers
By default, Portworx 2.6 is installed in the Anthos Cluster. The version of Portworx can be changed using the portworx_version
variable.
Portworx is installed with a Trial license. To continue use at the end of the trial period, you will need a Portworx Enterprise Metal license.
More information about these licenses, their restrictions and enablement can be found at https://docs.portworx.com/reference/knowledge-base/px-licensing/.
To active the Portworx license through this module:
- Set the
portworx_license
variable to your license key - Run
terraform apply
Note: The portworx_license
variable can not be set and defined before the Portworx installation is ready. This takes about 15 minutes today. If you attempt to provide the license too early the terraform apply
will fail, affecting only this licensing task. A subsequent and successful terraform apply
will be needed to correct the licensing.
Alternatively, ssh
into any worker node and run /opt/pwx/bin/pxctl license activate _key_
.