Comprehensive guide for installing, configuring, and using the Ankra CLI to manage clusters and addons on the Ankra platform.
Note: After installation, verify with:
Note: You may need to create the ~/bin directory and add it to your PATH if it doesn’t exist.
ANKRA_API_TOKEN
(required)ANKRA_BASE_URL
(optional, defaults to https://platform.ankra.app)Tip: Reload your shell profile after editing:
Flag | Description |
---|---|
--version | Show CLI version |
--help | Show help for any command |
--base-url | Base URL for the Ankra API |
--config | Config file (default is $HOME/.ankra.yaml) |
--token | API token for authentication |
ankra get clusters
ankra get stacks
ankra get stacks infisical
ankra get addons
ankra get addons kube-prometheus-stack
ankra get operations
ankra get operations <operation-id>
ankra get jobs <operation-id>
Flag | Description |
---|---|
-h, --help | Show help for get command |
Flag | Description |
---|---|
-h, --help | Show help for select command |
Flag | Description |
---|---|
--help | Show help for apply command |
Flag | Description |
---|---|
--help | Show help for delete command |
Note: Use ankra <command> --help
for detailed options on any command.
ankra
is in your PATH. If not, add ~/bin
or the install location to your PATH.curl
and bash
for installation.For more advanced usage, see the full documentation or contact support.