Hi there. I failed to find the answer in docs: is ...
# kubernetes
s
Hi there. I failed to find the answer in docs: is it possible to deploy a k8s cluster using pulumi? Say, on top of cloud infra deployed using it. Not the managed one like EKS/AKS (I guess it should be possible), but self-managed like kubeadm-based.
q
It's definitely possible to do that! You'd probably be heavily leveraging the command provider to execute scripts on the nodes: https://www.pulumi.com/registry/packages/command/api-docs/remote/command/ Another option would be using a more k8s focused operating system like Talos and managing the cluster via the Talos Provider: https://www.pulumi.com/registry/packages/talos/. The latter is how I've actually set up my homelab cluster on top of Hetzner servers. In case you're interested in the code: https://github.com/flostadler/homelab/blob/main/cluster/index.ts.
s
Oh, thanks! I'll take a look.