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 |
Example Workflow
1
Clone from GitHub
2
Apply the Configuration
3
Customize Values
Edit the YAML file or use the UI to adjust values for your environment (resource limits, domains, replicas).
Clone via UI
You can also clone stacks directly in the Ankra UI:- Navigate to Stacks in your cluster
- Click the menu on any stack
- Select Clone
- Edit the cloned stack as needed