Skip to main content
Reference material for DigitalOcean clusters.

Cluster Configuration Options

ParameterDefaultDescription
namerequiredUnique cluster name
credential_idrequiredDigitalOcean API credential ID
ssh_key_credential_idrequiredSSH key credential ID
regionrequiredDigitalOcean region slug
network_ip_range10.0.0.0/16Private VPC IP range
bastion_sizes-1vcpu-1gbDroplet size for the bastion host
control_plane_count1Number of control plane nodes (1 or 3)
control_plane_sizes-2vcpu-4gbDroplet size for control planes
node_groupsArray of node group definitions
distributionk3sKubernetes distribution (k3s or kubeadm)
kubernetes_versionlatest stableKubernetes version (optional)
cniflannel (k3s)CNI plugin. kubeadm clusters always use cilium
etcd_topologystackedkubeadm only. stacked or external (dedicated etcd droplets)
etcd_node_count3kubeadm external topology only (3 or 5)
etcd_sizes-2vcpu-4gbkubeadm external topology only. Droplet size for etcd nodes
include_ingressfalseDeploy Traefik + cert-manager for ingress

DigitalOcean Regions

RegionLocation
nyc3New York 3, United States
sfo3San Francisco 3, United States
ams3Amsterdam 3, Netherlands
sgp1Singapore 1, Singapore
lon1London 1, United Kingdom
fra1Frankfurt 1, Germany
Available regions and sizes depend on your account. Use ankra cluster digitalocean regions and ankra cluster digitalocean sizes to list what your credential can deploy.

Common Droplet Sizes

SizevCPUsRAMTypical use
s-1vcpu-1gb11 GBBastion
s-1vcpu-2gb12 GBSmall workers
s-2vcpu-4gb24 GBControl plane, general workers
s-4vcpu-8gb48 GBLarger workloads

Node Group API Reference

EndpointMethodDescription
/api/v1/clusters/digitalocean/{id}/node-groupsGETList all node groups
/api/v1/clusters/digitalocean/{id}/node-groupsPOSTAdd a node group
/api/v1/clusters/digitalocean/{id}/node-groups/{name}/scalePUTScale a node group (0-100)
/api/v1/clusters/digitalocean/{id}/node-groups/{name}/instance-typePUTChange droplet size
/api/v1/clusters/digitalocean/{id}/node-groups/{name}/labelsPUTUpdate labels
/api/v1/clusters/digitalocean/{id}/node-groups/{name}/taintsPUTUpdate taints
/api/v1/clusters/digitalocean/{id}/node-groups/{name}DELETEDelete a node group