Files
home-kubernetes/kubernetes-kvm-terraform

kubernetes

1: create VMs on hypervisor

2: install kubernetes with kubeadm

3: bootstrap flux

4: deploy the rest

Random notes

# recreate specific resources
tofu destroy -target=libvirt_domain.ubuntu_vm -target=libvirt_volume.cloudinit
tofu destroy -target=null_resource.kubeadm_token
tofu destroy -target=libvirt_cloudinit_disk.commoninit_node_01 -target=libvirt_cloudinit_disk.commoninit_node_02
tofu apply

# taint resource to have it recreated
tofu taint libvirt_domain.ubuntu_vm