Skip to main content

anycloud cluster

A hosted API runs on its own Kubernetes cluster: a management VM in your cloud running a pinned K3s server and the Anycloud API released onto it as a Helm chart. anycloud api create builds it and anycloud api delete deletes it; cluster inspects it.

anycloud cluster list|ls|get [--json]
anycloud cluster status|describe <id-or-name> [--watch] [--interval <seconds>] [--json]

list shows the clusters this API knows with their location, VM type, age, address, installed API version and state; status shows one in the Workload status layout (state, cloud, VM, address, Kubernetes and API versions, URL, age and last error), and --watch refreshes it until the cluster is running, failed or fully terminated. Against a hosted API, its own cluster shows the cloud, account, region and VM type from its record, and the address, API version and URL it knows of itself.

--json reports these fields:

FieldMeaning
id, name, state, releasingRecord identity, the Workload state, and whether the management VM is still being released
cloudProvider, region, zone, vmTypeWhere the management VM runs (null on a hosted API's record from before 0.1.74)
cloudAccountThe AWS account, GCP project or Azure subscription; on the hosted API's record only
managementVmId, networkScopeThe management VM's provider ID and the anycloud-cluster-<id> name of its network resources
k3sVersion, apiVersion, apiImage, chartVersionThe pinned control plane, the installed API and its chart
connected, kubernetesIdentity, connectionRevisionWhether the installer can reach the cluster, the observed kube-system UID, the connection revision
addressThe management VM's public address
managementApiUrlhttps://<cluster-id>.anycloud.sh, the anycloud api use target; an installer's once released
releaseThe installed API release: apiVersion, apiImage, chartVersion; null until it is installed
checkpointBucketname and managed of the hosted API's backup bucket; null once --delete-buckets deleted it
lastErrorThe last reconciliation error, or null

Lifecycle states​

The Workload states: provisioning, initializing and starting while it is created, failed (a failed create or delete; a failed delete's Last error: starts with Delete failed:), and terminated (with the "releasing" label while the management VM is still being released). The record is removed only by anycloud api delete.