Before you start
- A payment method on the organisation, even though Proxmox VE has no cloud bill. Without one, Create cluster is refused with “The cluster was not created” and a link to Open Plan and billing. See Credit and payment method.
- The
clusters.createpermission. See Roles and access. - A Proxmox VE API credential: the API URL and an API token with VM management privileges. If Ankra needs to initialise storage, networking or the template, the token also needs
Datastore.Allocate,Datastore.AllocateTemplate,Sys.ModifyandSDN.Allocate. Persistent volumes also needDatastore.Audit. Proxmox VE Credentials lists every privilege with a ready-madepveumrole. - An SSH key credential for VM access - your own public key, or one Ankra generates. A Proxmox cluster takes a single key. See SSH Key Credentials.
- A cloud-init VM template. During credential setup Ankra downloads the Ubuntu 24.04 cloud image and registers it as the
ankra-ubuntu-24-04template on every node that lacks it. You can bring your own and pin it withtemplate- see Creating a cloud-init template. - Room next to your own VMs. On an installation that already runs VMs, VMID 9999 must be free and the selected hosts need free memory for every cluster VM. See Connecting a Proxmox VE that already runs VMs.
- A network bridge. Use an existing active Linux bridge, or let Ankra convert the single active management Ethernet or bond interface (static or
manualmethod) tovmbr0. Ankra also creates a private NAT networkankra(10.20.0.0/16) through Proxmox SDN - see Networking. - The
dnsmasqpackage on each node for the private network’s DHCP (apt install dnsmasq && systemctl disable --now dnsmasq), andsource /etc/network/interfaces.d/*in/etc/network/interfaces(present by default on standard installs). - Free local disk or existing VM storage. If no active storage supports VM images, Ankra enables
imagesandrootdiron thelocaldirectory storage, or creates it at/var/lib/vz. Theimportcontent type is enabled onlocalfor cloud-image downloads. A Proxmox VE installed on top of Debian has onlylocal, nolocal-lvm, so pass--storage localto the CLI. - API reachability. The Proxmox API must use HTTPS and be reachable from Ankra, directly or through an SSH jumphost.
Hybrid connectivity (SSH jumphost)
Many Proxmox environments are not reachable from the internet. If Ankra cannot reach the Proxmox API and the VM network directly, attach an SSH jumphost (host, port, username and private key) to the Proxmox VE credential; Ankra then tunnels both the API calls and the SSH connections to your nodes through it. If the API uses a self-signed certificate, enable TLS insecure (tls_insecure) on the credential. Both are set on the credential - see Proxmox VE Credentials.
Create the cluster
- Portal
- CLI
- API
The create form is the same for every provider Ankra builds on; Create a cluster walks through it section by section. What is particular to Proxmox VE:The form does not offer every Proxmox VE option. Use the CLI or API for these:
1
Pick Proxmox VE
Go to Infrastructure → Clusters, click Add a cluster and pick Proxmox VE. The form Add a Proxmox VE cluster opens; there is no Ankra managed or provider managed choice.
2
Where it runs
Pick the Proxmox VE credential, the SSH key and the Proxmox node that hosts every cluster VM. A node that is not online is listed with its status beside its name. Once a node is chosen, pick the Network bridge the VMs connect to and the Disk storage for their disks. Both list only what is active on that node, and storage only where it accepts VM images; the first of each is preselected. The
ankra SDN network is listed among the bridges: pick it unless you run your own DHCP-served bridge (see Networking).3
Control plane, management server and worker nodes
Choose Single node or High availability (three control plane nodes) and a size for each role from Ankra’s presets (see Instance Sizes):
px-medium is preselected for the control plane and workers, px-small for the Management server (the bastion VM). A node group takes 1 to 50 nodes, at most 50 in all groups together. Autoscaling is not offered for Proxmox VE node groups.4
Kubernetes and Advanced configuration
Keep kubeadm (with Cilium) or pick k3s and its Network plugin. Under Advanced configuration, Run etcd on separate nodes (kubeadm only), Install the networking stack and Give the cluster a public domain are there; the last two are ticked by default. On k3s the networking stack runs through the built-in service load balancer; unticked, k3s keeps its bundled Traefik and no certificate manager, and a kubeadm cluster gets no ingress controller or certificate manager at all.There is no Cluster configuration in Git section for Proxmox VE: connect a repository after the cluster is created, at Infrastructure → Clusters → <your cluster> → Settings → GitOps.
5
Review and create
Click Review cluster. Under Checks before creating, Ankra checks the name and settings; the Proxmox VE credential is checked when creation starts. Click Create cluster. The page Creating
<name> follows the setup; it reads <name> is ready when the Ankra agent has connected.The Estimated monthly cost card says Proxmox VE runs on your own infrastructure, so there is no provider list price; see Other differences.
Verify
- Under Infrastructure → Clusters, the cluster’s status reads In progress while it is set up and Online once the Ankra agent has connected.
-
Point
kubectlat it through Ankra (this needs a Cluster Access grant) and check the nodes:Every control plane and worker should beReady. See Accessing Clusters with kubectl.
What Ankra created on your hosts
- A bastion VM - the only SSH access point Ankra uses to reach the nodes. It carries no workload or egress traffic. With a jumphost on the credential, Ankra reaches both the Proxmox API and the bastion through it.
- Control plane and worker VMs (QEMU), cloned from the cloud-init template and attached to the network you picked, plus dedicated etcd VMs for a kubeadm cluster with external etcd. Each is tagged
ankraandankra-cluster-<id>. - The
vmbr0bridge and theankraSDN network, when they did not exist, set up during credential setup.
LoadBalancer Services are not provisioned. Expose workloads with NodePort Services, an ingress controller, or a load balancer you deploy yourself. The Proxmox VE Reference has the full layout.
Proxmox VE specifics
Networking
When you save a Proxmox VE credential, Ankra initialises two networks when they do not already exist:vmbr0 (management bridge). If no active bridge exists, Ankra converts the single active Ethernet or bond management interface to vmbr0. A statically addressed interface’s address and gateway move to the bridge; a manual-method interface (common on dedicated-server providers such as Scaleway) converts to an address-less bridge. The physical interface becomes the bridge’s uplink. DHCP-managed management interfaces cannot be converted through the Proxmox API - create the bridge manually in that case. Ankra refuses the conversion when the management interface is ambiguous, has custom options, or another network change is pending.
ankra (private SDN network). Ankra creates a Proxmox SDN simple zone named ankra with a vnet of the same name and the subnet 10.20.0.0/16 (gateway 10.20.0.1). The subnet has SNAT enabled, so Proxmox masquerades outbound VM traffic through the host’s public interface, and DHCP served by dnsmasq (range 10.20.1.1 to 10.20.254.254) backed by the built-in PVE IPAM. Because addresses are registered in the IPAM the moment a VM’s NIC attaches, Ankra reads VM addresses without requiring the QEMU guest agent in the image.
Recommended setup. Place cluster VMs on the ankra network - it is listed alongside Linux bridges under Network bridge in the create form. This keeps Kubernetes traffic off the management bridge and gives VMs internet access through NAT without exposing them publicly. Because the VMs are private, attach the Proxmox host itself (or another host with a route into 10.20.0.0/16) as the SSH jumphost on the credential so Ankra can reach the bastion.
Creating a cloud-init template
Ankra clones a cloud-init VM template for every cluster VM. Every node gets Ankra’s template automatically: during credential setup Ankra downloads the Ubuntu 24.04 cloud image and registers it as theankra-ubuntu-24-04 template. Your own templates are left untouched, and Ankra clones one of them only when you name it with template.
Create your own template when you need a different distribution, a hardened image, or pre-installed packages. The steps below use Ubuntu 24.04. Adjust the image URL and VM ID for your environment.
The template VM ID (9000 in this example) must be unique on your node. Ankra uses
ankra-ubuntu-24-04 unless you pin your template with the template option (by name or VMID) at cluster creation time.Host-Spread Placement
When your Proxmox VE cluster has multiple nodes, you can spread the Kubernetes VMs across them so a single host failure does not take down the whole Kubernetes cluster. Host spread is opt-in: passplacement_nodes with two or more nodes through the API, or --placement-nodes to ankra cluster proxmox create. The portal’s create form has no host-spread choice; it places every VM on the one Proxmox node you pick.
Prerequisites
Every selected host must be online and provide the same-named resources, because VMs are cloned locally on each host:- Active storage with the selected name that allows VM images (e.g.,
local-lvmon every host). - An active bridge with the selected name (e.g.,
vmbr0on every host), all attached to the same DHCP network. - A cloud-init template with the same name on every host. Ankra resolves each host’s own template VMID and clones locally - shared-storage cross-node cloning is not used.
node stays required and must be one of the placement_nodes; the bastion always runs there.
How VMs are distributed
Ankra assigns control planes, dedicated etcd members, and each worker group deterministically: the host with the fewest members of the same role or group wins, ties break by fewest total Kubernetes VMs, then by your selected-node order. Every Kubernetes node is labeled withtopology.kubernetes.io/zone=<proxmox-node> so you can use standard topology spread constraints and pod anti-affinity against the physical failure domain.
Later scaling keeps the policy: adding node groups, scaling them up, and adding control planes all place new VMs on the least-represented eligible host. Restart, resize, upgrade, and delete operations stay pinned to each VM’s recorded host.
Requirements and limitations
- At least 3 control planes. Host-spread clusters must be created with 3 or 5 control plane nodes so the Kubernetes control plane keeps quorum when one host fails.
- Two hosts give reduced resilience. With only two hosts, losing the host that carries the control-plane majority still takes the Kubernetes API down. Three or more hosts are recommended.
- The bastion is not spread. It runs on the primary
node; if that host fails, Ankra’s SSH path to the cluster is unavailable until the host returns, while workloads keep running. - No Proxmox HA-manager integration. Ankra does not enroll VMs in Proxmox HA groups and never live-migrates or recreates VMs on another host after a failure. Resilience comes from Kubernetes replication across hosts, so run workloads with multiple replicas spread over zones.
Workload guidance
For a workload to survive a host outage, run at least two replicas and spread them across zones:Other differences
- Resizing a node group powers each VM off, resizes it and powers it on again, with brief downtime for its workloads. Sizes only grow; for smaller nodes, create a new group and delete the old one. On a host-spread cluster, new VMs go to the least-represented eligible host.
- Restart works from the CLI (
ankra cluster proxmox nodes restart). Resize the bastion in the portal with Resize bastion or gateway under Provider machines on the cluster’s node management page (/next/clusters/<cluster-id>/node-groups), or withankra cluster proxmox bastion resize <cluster> <size>, where the size is a preset such aspx-medium(ankra cluster proxmox sizeslists them). - A stop captures the cluster’s etcd state through the credential’s jump host before the VMs are deleted, and frees the host capacity. Terminating deletes every VM Ankra created (bastion, control planes, workers and etcd VMs) and leaves your Proxmox nodes, storage and bridges untouched. It also deletes the disks the cluster’s CSI driver provisioned, so a cluster that has some is terminated only once you accept that - see Persistent Volumes on Proxmox VE Clusters.
- No cost estimate in the create form, because Proxmox VE has no list pricing: the Estimated monthly cost card says so. Cloud Cost prices running clusters from the credential’s rate card, which ships with default rates you can change.
Operate it
Day-2 tasks work the same way on every Ankra Managed provider, with the CLI nameproxmox:
- Node groups and legacy worker scaling
- Control plane
- Restart a node and the bastion
- SSH access and keys
- Upgrade Kubernetes
- Stop and start
- Terminate a cluster