Skip to main content

ankra stack-profiles

List, export, and import organisation-level stack profiles.

ankra stack-profiles apply

Apply (instantiate) a stack profile onto a cluster. By default this creates a reviewable stack DRAFT on the target cluster - nothing is deployed until you review it in the Ankra dashboard or pass —deploy. Bind profile parameters with —set name=value. For secret parameters prefer —set-file name=path or —set-env name=ENV_VAR so the value never appears in your shell history or process list. Use ‘ankra stack-profiles get <profile-id>’ to see which parameters a profile expects.
Flags

ankra stack-profiles drafts

Work with stack profile builder drafts from the terminal. A draft is the editable working copy behind a profile version: open one from an existing profile (or from a deployed stack), annotate its parameters with the titles and descriptions the launch form shows as guidance, and publish it as the next version.

ankra stack-profiles drafts annotate

Set a parameter’s title and description on a draft. The description is the guidance the launch form shows under the field, so this is how a profile author instructs the person filling it in. Publishing the draft makes the annotations live.
Flags

ankra stack-profiles drafts create

Open a builder draft: —profile edits an existing profile (publishing creates its next version), —name starts a brand-new profile, and —source-cluster with —source-stack seeds the draft from a deployed stack.
Flags

ankra stack-profiles drafts delete

Discard a builder draft
Flags

ankra stack-profiles drafts get

Show a draft’s parameters and their annotations
Flags

ankra stack-profiles drafts list

List the organisation’s open builder drafts
Flags

ankra stack-profiles drafts publish

Publish a draft as a profile version
Flags

ankra stack-profiles export-iac

Export a profile version as ClusterInfrastructureAsCode YAML
Flags

ankra stack-profiles get

Describe a stack profile: its metadata, published versions, and the parameters you can bind when applying it.
Flags

ankra stack-profiles import

Import a profile from a ClusterInfrastructureAsCode YAML file
Flags

ankra stack-profiles list

List stack profiles in the active organisation
Flags