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
Examples:
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 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.