K8S Cluster API Proxmox Provider

Question

Does anyone know of any work being done on a Proxmox provider for the Kubernetes Cluster API?

Posted Oct 25, 2022, 7:43 PM UTC

65
eltorohh•

It would be awesome if someday Proxmox would be on this list, especially since Nutanix and vSphere are competitors of Proxmox.

https://cluster-api.sigs.k8s.io/reference/providers.html

4
FourAM•

Please clarify - do you mean to ask if K8s are being integrated into Proxmox?

No, they are not. You can run K8s nodes inside VMs or LXC. If you want K8s directly on your hosts, go with a standard Linux distro of your choosing with a K8s package installed.

2
you_randomly•

I think they're asking about using cluster API to manage resources on proxmox cluster API run inside k8s to my understanding

2
insanemal•

Not quite.

You can get platform integration APIs that run inside your k8s cluster to give you locality awareness as well as other integrations like requesting the hypervisor to spin up another node with a specific template to expand the cluster (and shrink it)

As well as making hypervisor storage actions (like attaching new disks) to integrate with a compatible CSI plugin.

There are VMWare, AWS CPI's and many others.

2
KrystaWontFindMe•

Very doubtful. Proxmox is just a basic hypervisor. Try harvester maybe if you want hypervisor for vms + k8s/capi

2
Fatali•

There isn't any that I can find.

I ended up here while searching for it myself.

Adding the following note/rant for anyone else who ends up here:

If a cluster-api provider for ProxMox ever gets made, as it stands currently it won't be made by the ProxMox devs themselves, as they're allergic to working with third-party APIs. As a result, any tool like CAPI/Terraform/Crossplane/etc will not have a first-party ProxMox plugin. Which is frustrating, and gives their competition an advantage.

If you're set on CAPI, an alternative could be the BYOH (bring-your-own-host) provider + Terraform, but to date I haven't had much luck, BYOH is less mature than other providers, since it is a provider of last resort, and earlyish in its development (still alpha).

2
lukasmrtvy•

Exactly, better to go with nested openstack or cloudstack, harvester didnt work for me.. networking is kinda ... sus. There is proly no other viable option.

1