Autopilot
This feature is only available in Ververica Platform Stream Edition and above.
Autopilot in Ververica Platform provides automatic configuration of Apache Flink® Deployments in order to reduce operational complexity and use computing resources efficiently.
Concepts
Autopilot is configured via Autopilot Policies. There is a policy for each Deployment. The policy configures the corresponding Autopilot Agent for the Deployment. The agent is responsible for monitoring the Deployment and providing configuration recommendations.
In the web frontend, the Autopilot tab on the Deployment details page exposes all available options for configuring a policy, and displays the agent's status information and recommendations. Our OpenAPI specification lists all available Autopilot endpoints with example requests and responses.
Mode
Each policy is in one of the following modes: DISABLED (default), MONITORING, or ACTIVE. The mode specifies how the autopilot agent is executed and whether recommendations are actively applied.
Mode | Status/recommendation updated? | Recommendation applied automatically? |
---|---|---|
DISABLED | No | No |
MONITORING | Yes | No |
ACTIVE | Yes | Yes |
In addition to the mode, there are more fine-grained configuration options available for Autoscaling.
DISABLED (default)
Disables the autopilot agent. No status and no recommendation will be computed. This is the default for every policy.
MONITORING
The autopilot agent passively monitors the corresponding Deployment. The status and recommendation endpoints will be continuously updated, but recommendations will not be applied automatically.
You can use this mode as a dry-run before activating the autopilot. When you do want to apply a recommendation, you can use the web frontend to apply it manually or use the Deployment PATCH API with the recommended JSON patch.
ACTIVE
The autopilot actively monitors the corresponding Deployment and applies recommendations automatically. The status and recommendation responses will be continuously updated.
You can track applied recommendations by listing Deployment Events in the web frontend or querying the events API.