Learn how to clone one or multiple stacks from one cluster to another — including across organisations — for consistent deployments across environments
Use this file to discover all available pages before exploring further.
Cloning stacks allows you to replicate your infrastructure configurations across multiple clusters — even across different organisations. You can clone a single stack or select multiple stacks at once. Cloned stacks are created as drafts, giving you the opportunity to review and customize them before deployment.
AI Prompts
Use these prompts with the AI Assistant (Cmd+J) to clone stacks with natural language.
Replicate your monitoring stack across all clusters
Create templates
Use a well-configured stack as a starting point for new clusters
Disaster recovery
Quickly replicate infrastructure to a backup cluster
Cross-org sharing
Clone a stack from a development org to a client or production org
Replicate entire clusters
Select all stacks and clone them to a new cluster in one operation
Security Note: Encrypted values (secrets) are not transferred during cloning for security reasons. You’ll need to reconfigure them in the target cluster. This includes passwords, API keys, and any values encrypted with SOPS.
Go to your source cluster and navigate to Stacks. Find the stack you want to clone.
2
Open Clone Dialog
Click the menu icon (three dots) on the stack card and select Clone to Cluster.
3
Select Target Cluster
In the dialog that appears:
If you belong to multiple organisations, select the target organisation from the dropdown. The cluster list updates to show clusters in that organisation.
Choose the destination cluster from the cluster dropdown
Optionally modify the stack name
Choose whether to include addon configurations
4
Review Warnings
If your stack contains encrypted values, you’ll see a warning. These values will need to be reconfigured after cloning.For cross-organisation clones, an additional banner explains that you’ll be switched to the target organisation after cloning. Credentials and secrets may need to be reconfigured for the new organisation context.
5
Clone the Stack
Click Clone Stack. You’ll be redirected to the draft in the target cluster. If you cloned to a different organisation, Ankra automatically switches your active organisation.
You can select multiple stacks and clone them all to another cluster in a single operation. Each stack is created as a separate draft on the target cluster.
1
Select Stacks
On the Stacks page, click any stack card’s avatar (the colored circle) to start selecting. Click additional avatars to add more stacks to your selection.Alternatively, click the Clone Stacks button to the left of the search bar — this selects all stacks on the page.
2
Open the Clone Dialog
With stacks selected, a floating action bar appears at the bottom of the screen showing the count. Click Clone to Cluster in the bar, or click the Clone N Stacks button next to the search bar.
3
Choose a Target
In the dialog:
Select the target organisation (if you belong to multiple)
Choose the destination cluster
Toggle whether to include addon configurations
The dialog shows a list of all selected stacks as tags.
4
Clone
Click Clone N Stacks. Each stack is cloned sequentially — you’ll see a progress bar and each stack tag turns green on success. Name conflicts are auto-resolved with suffixes (e.g. -copy).
5
Navigate to Target
After completion, click Go to Target Cluster to review the cloned drafts. Configure any missing secrets and deploy when ready.
Multi-stack cloning is useful for replicating an entire cluster’s configuration. Select all stacks, clone to a new cluster, then review and deploy each draft individually.
Cloning stack 'monitoring-stack' to cluster 'production'...Stack cloned successfully! Draft ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890 Stack Name: monitoring-stack Addons: 3 Manifests: 2Warnings: - Addon 'grafana' had encrypted configuration that needs to be reconfigured.The stack has been created as a draft. Open the Ankra dashboard to review and deploy.
Ankra supports cloning stacks to clusters that belong to a different organisation. This is useful for sharing configurations with clients, replicating setups from a template org to a production org, or migrating workloads.
Credentials and secrets don’t transfer across organisations. Each organisation has its own SOPS keys, registry credentials, and secrets. After a cross-org clone you must reconfigure:
Encrypted values in manifests and addon configs
Registry credentials if images are in private registries
Any organisation-specific variables referenced by the stack
Organisation variables are scoped to each org. If the cloned stack references variables (e.g. ${ORG_DOMAIN}), make sure equivalent variables exist in the target organisation or override them at the cluster/stack level.
# Test in staging firstankra cluster select stagingankra cluster stacks list# Clone to production when readyankra cluster stacks clone my-app-stack --to production# Switch to production and configure secretsankra cluster select production# ... configure in dashboard
Standardizing Multiple Clusters
Clone your standard monitoring stack to all clusters:
ankra cluster select template-clusterfor cluster in dev staging production; do ankra cluster stacks clone observability --to $cluster --name observability echo "Cloned to $cluster"done
Creating a Backup Configuration
# Clone critical stacks to a DR clusterankra cluster select primaryankra cluster stacks clone core-services --to dr-clusterankra cluster stacks clone monitoring --to dr-clusterankra cluster stacks clone ingress --to dr-cluster
Replicate All Stacks to a New Cluster
In the dashboard:
Go to Stacks in your source cluster
Click the Clone Stacks button next to the search bar — all stacks are selected
Click Clone to Cluster in the floating action bar
Choose your target cluster and click Clone
All stacks are created as drafts on the target — review and deploy each one
With the CLI:
ankra cluster select source-cluster# Clone each stack to the new clusterfor stack in $(ankra cluster stacks list --names); do ankra cluster stacks clone "$stack" --to new-clusterdone
Sharing a Stack with Another Organisation
Clone a well-tested stack to a client or partner organisation:
# From your template org, clone to the client's clusterankra cluster select template-clusterankra cluster stacks clone saas-platform --to client-production --org acme-corp# The client can then review the draft and add their secrets
In the dashboard, select the target organisation from the dropdown in the clone dialog. After cloning, Ankra switches you to the target org automatically.
Ensure the source stack is deployed (not just a draft) and you have the correct stack name:
ankra cluster stacks list
Clone Failed: Access Denied
Verify you have access to both the source and target clusters. You must be a member of both clusters’ organizations.
Clone Failed: Target Cluster Unavailable
The clone operation only creates a draft in the database - it doesn’t require the target cluster to be online. Check your network connection to the Ankra API.
Missing Resources After Clone
If addons or manifests are missing:
Check if the source stack had resources in a deleting or deleted state
Verify the clone included addon configurations (--include-config=true)
Check the warnings for any resources that couldn’t be cloned