Skip to main content
Version: 3.6

Expand your Storage Pool with Autopilot

Autopilot is a Portworx component that continuously monitors storage resources and performs actions based on real-time metrics. It can be configured with metrics providers such as Prometheus or Datadog to collect metrics about cluster objects (for example, volumes, pools, or PVCs). These metrics are responsible for all Autopilot decisions.

Autopilot behavior is defined using the AutopilotRule Custom Resource. This rule specifies:

  • What to monitor (via selectors and namespace selectors)
  • Which metrics to evaluate (conditions)
  • What to do when conditions are met (actions)

Autopilot continuously evaluates incoming metrics against rule conditions. When all conditions defined in a rule are met, the rule transitions to a triggered state and the corresponding action is scheduled and executed. For more information, refer to Working with Autopilot Rules.

By default, actions are executed automatically when conditions are met. Autopilot can be configured to control the execution of actions so that the actions must be explicitly approved before execution. For more information, refer to Action approvals with AutopilotRule

Autopilot rules can be applied across a wide range of storage automation scenarios, including expand and automatically rebalance Portworx storage pools. For more information, refer to Autopilot Use cases

In the Autopilot rules, the format of conditions differs from Prometheus for Datadog. In the Autopilot use cases, the examples mentioned use Prometheus as the provider. For Datadog, refer to Conditions for writing conditions in the Autopilot rule.