Skip to content

A Kubernetes cluster on a Proxmox hypervisor using Talos Linux provisioned with OpenTofu.

License

Notifications You must be signed in to change notification settings

max-pfeiffer/proxmox-talos-opentofu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proxmox-talos-opentofu

Proof of concept project using OpenTofu to install a Kubernetes cluster on a Proxmox hypervisor using Talos Linux.

Requirements

You need to have installed on your local machine:

Provisioning

The project is grouped in two modules:

  • proxmox: provisioning of virtual machines, operating systems and Kubernetes cluster
  • kubernetes: provisioning of Kubernetes cluster resources

So you want first to provision the Proxmox part: create a credentials.auto.tfvars file based on the example.

cd proxmox
tofu init
tofu plan
tofu apply

You can then grab the kube config file for Kubernetes provisioning like so:

tofu output kubeconfig

and put its contents into your ~/.kube/config.

Test if your cluster access works by listing the nodes:

kubectl get nodes

Secondly, you can provision the Resources inside the Kubernetes cluster:

cd kubernetes
tofu init
tofu plan
tofu apply

Information Sources

About

A Kubernetes cluster on a Proxmox hypervisor using Talos Linux provisioned with OpenTofu.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages