From 0543e3011817211445da32afe1eaa60ded44c673 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 16 Dec 2020 21:24:26 +0100 Subject: Add kubernetes example using libvirt provider k8s_cluster/*: Add a terraform-provider-libvirt based examples to semi-automatically create a k8s cluster for testing. --- k8s_cluster/terraform.tfvars | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 k8s_cluster/terraform.tfvars (limited to 'k8s_cluster/terraform.tfvars') diff --git a/k8s_cluster/terraform.tfvars b/k8s_cluster/terraform.tfvars new file mode 100644 index 0000000..a3b969f --- /dev/null +++ b/k8s_cluster/terraform.tfvars @@ -0,0 +1,15 @@ + +# SSH private key to use for access to nodes +vm_ssh_private_key = "~/.ssh/id_ed25519" + +# how many control-plane nodes to create +control_plane_count = 2 + +# how many worker nodes to create +node_count = 2 + +# how many load balancers to create +load_balancer_count = 1 + +# which image to use as the base image +vm_image_source = "https://pkgbuild.com/~dvzrv/images/Arch-Linux-x86_64-cloudimg-20201211.10966.qcow2" -- cgit v1.2.3-70-g09d2