Documentation Index
Fetch the complete documentation index at: https://docs.ankra.io/llms.txt
Use this file to discover all available pages before exploring further.
Clone stack configurations from existing clusters or remote repositories. Perfect for replicating production setups to staging or dev environments.
Prerequisites
- Ankra CLI installed and configured
- A cluster configuration file (YAML)
Clone from a Local File
Copy stacks from an existing cluster configuration:Clone from GitHub
Pull configurations directly from a repository:Clone Options
| Flag | Description |
|---|---|
--clean | Replace all stacks in target (clean copy) |
--force | Override conflicts during merge |
--copy-missing | Copy missing files even from skipped stacks |
--stack | Clone only specific stacks by name (repeatable) |
Example Workflow
Clone via UI
You can clone stacks directly in the Ankra UI: Clone a single stack:- Navigate to Stacks in your cluster
- Click the menu on any stack card
- Select Clone to Cluster
- Choose a target cluster and click Clone Stack
- Navigate to Stacks in your cluster
- Click the Clone Stacks button next to the search bar (or click a stack card’s avatar to start selecting)
- Select the stacks you want to clone — a floating action bar shows the count
- Click Clone to Cluster, choose a target cluster, and confirm
- All selected stacks are cloned as drafts to the target cluster
Next Steps
Ankra CLI Reference
Full CLI command reference.
GitOps Examples
Example cluster configurations to clone.