Managed Kubernetes
v5.7
Using the CLI for Automation
The Platform9 CLI, pf9ctl command, can be used with the --no-promptflag. This allows the CLI to operate within a given automation framework such as Ansible. When using the --no-prompt flag, a CLI command runs in a non-interactive mode that requires no interaction from the user, as it disables all typical user prompts. When a command completes with a zero exit code, it indicates the command has succeeded. A non-zero exit code indicates failure. The CLI commands produces a non-zero code if the required flags are not provided to a sub-command or if an error occurs.
Flag Examples
$plugin[e6686kuk7ho]
Example Bootstrap
$plugin[p1bft47cw2e]
Example Attach Node
$plugin[uk149pi58e]
Last updated by Anagha Pamidi on Jan 27, 2026
Was this page helpful?
Overview
Getting Started
Clusters
APIs
In Cluster Monitoring
Catapult Remote Monitoring
Cluster and App GitOps
Platform9 Managed Add-ons
Platform Administration
Workloads & Apps
Support
Powered by
