summaryrefslogtreecommitdiffstats
path: root/k8s_cluster/terraform.tfvars
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2020-12-16 21:24:26 +0100
committerDavid Runge <dave@sleepmap.de>2020-12-16 21:24:26 +0100
commit0543e3011817211445da32afe1eaa60ded44c673 (patch)
tree1ff4a268a70f0474a827b28ebbfe1de037138a97 /k8s_cluster/terraform.tfvars
downloadterraform-master.tar.gz
terraform-master.tar.bz2
terraform-master.tar.xz
terraform-master.zip
Add kubernetes example using libvirt providerHEADmaster
k8s_cluster/*: Add a terraform-provider-libvirt based examples to semi-automatically create a k8s cluster for testing.
Diffstat (limited to 'k8s_cluster/terraform.tfvars')
-rw-r--r--k8s_cluster/terraform.tfvars15
1 files changed, 15 insertions, 0 deletions
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"