Terraform cluster definition leveraging the libvirt provider.
-
libvirt
The installation of libvirt is out of the scope of this document. Please refer to the instructions for your particular OS.
-
terraform/libvirt provider
Follow the instuctions for installing the Terraform/libvirt provider
-
kubectl
A local kubectl executable.
By default all the machines will have the following users:
- All the instances have a
root
user withlinux
password.
The topology created for libvirt is currently a bit limited:
- only one master, with
kubeadm
and thekubelet
pre-installed. No load balancer is created, so you are limited to only one master. ${var.worker_count}
worker nodes, withkubeadm
and thekubelet
pre-installed.
You should be able to ssh
these machines, and all of them should be able to ping each other.