Expand every Portworx storage pool in OKE
Summary and Key concepts
Summary:
This article provides guidance on using Portworx Autopilot to automatically expand storage pools in a Kubernetes cluster until they reach a specified capacity. The article outlines supported cloud providers for storage pool expansion (e.g., AWS, Azure, Google Cloud Platform, VMware vSphere, FlashArray) and provides an example of an Autopilot rule. The rule monitors the size of Portworx storage pools and triggers an action to expand them by adding new drives when their size is below 400GiB. The example Autopilot rule uses the add-drive
scaling method to double the pool's size while ensuring data remains in quorum during expansion.
Kubernetes Concepts:
- Custom Resource Definitions (CRD): The
AutopilotRule
CRD is used to define rules that automate actions like expanding storage pools. - PersistentVolumeClaim (PVC): Autopilot automates actions on storage pools to ensure PVCs remain properly sized as demand grows.