What stays in your Git repository
A cluster’s GitOps repository is a repository in your own Git account. The cluster and Stack YAML Ankra wrote there, and the.ankra-owned.json file that records what it last wrote, are ordinary files in that repository, and Git keeps them and their history whatever happens in Ankra.
The files are ImportCluster and Stack YAML, so the repository stays a readable record of the Stacks, add-ons, manifests and variables the cluster declared.
For a cluster built in the portal without a GitOps repository, or to have the whole specification as Ankra holds it now, export it first:
What happens to your clusters
What leaving does to a cluster depends on how it came to Ankra. A cluster is removed from Infrastructure → Clusters → <your cluster> → Settings → Terminate or remove, and that page offers only what fits the cluster:
The portal offers no way to disconnect a cluster Ankra built and keep it running. Move its workloads elsewhere before you terminate it, or contact Ankra support.
An organisation can only be deleted once it has no clusters left, so every cluster goes through one of these first: see Leave or delete an organisation.
Removing the agent
The agent is a Helm release,ankra-agent, in the ankra namespace. On an imported cluster it stays after you disconnect, until you uninstall it with your own access to the cluster: see Uninstalling on the cluster agent page.
What Ankra holds, and how to export it
What happens when you delete the organisation or your account
Deleting the organisation removes its memberships, logo, single sign-on connection, AI provider keys and registry logins, and cancels its plan. On a plan invoiced monthly, the month so far becomes a draft invoice that a person at Ankra reviews before it is sent; an organisation paying from credit gets no invoice, and its last complete hours are charged to its credit. Its invoices are kept: deleting an organisation does not delete its bill. Granted credit is voided, and credit you bought is held for 30 days so it can be refunded. The full list is in What deleting does. Deleting your own account, from Profile in the account menu, revokes your tokens, removes your sign-in, your personal AI keys and your connected GitHub account, and takes you out of every organisation. It does not delete an organisation: one where you are the only member stays, with its clusters and its plan and nobody left to manage it. Delete that organisation first. See Your account.Related
- GitOps: how Ankra writes to your repository.
- The cluster agent: what runs in each cluster.
- Leave or delete an organisation: the steps.