import_cluster
Import an EXISTING Kubernetes cluster into Ankra - any distribution, any provider, anywhere (EKS, GKE, AKS, k3s, kind, on-premises). This is how a cluster that already runs is brought under Ankra management, and it is NOT the same as the create_*_cluster / create_managed_cluster tools, which provision brand-new billable cloud infrastructure. Use this one whenever the user says import, onboard, connect, add, or bring in a cluster they already have. Two steps by design: this call registers the cluster and returns import_command, the command that installs the Ankra Agent; the operator then runs it against that cluster's kubeconfig, because Ankra has no route into a cluster it has not met. The cluster reports 'offline' until the agent checks in. Only onboards NEW clusters - a name that already exists is refused rather than reconfigured. It does not connect a GitOps repository; use connect_gitops_repository afterwards for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name the cluster gets in Ankra. Alphanumeric with dashes and underscores, and unique in the organisation - an existing name is refused, not overwritten. | |
| description | No | Optional free-text description of what this cluster is for. |