summaryrefslogtreecommitdiffstats
path: root/k8s_cluster/variables.tf
diff options
context:
space:
mode:
Diffstat (limited to 'k8s_cluster/variables.tf')
-rw-r--r--k8s_cluster/variables.tf34
1 files changed, 34 insertions, 0 deletions
diff --git a/k8s_cluster/variables.tf b/k8s_cluster/variables.tf
new file mode 100644
index 0000000..dca2f82
--- /dev/null
+++ b/k8s_cluster/variables.tf
@@ -0,0 +1,34 @@
+
+variable "libvirt_provider_uri" {
+ type = string
+ description = "Libvirt provider's URI"
+ default = "qemu:///system"
+}
+
+variable "vm_ssh_private_key" {
+ type = string
+ description = "Location of SSH private key for VMs"
+}
+
+variable "vm_image_source" {
+ type = string
+ description = "Image source, which can be path on host's filesystem or URL."
+}
+
+variable "control_plane_count" {
+ type = number
+ description = "The amount of initial control-plane nodes"
+ default = 2
+}
+
+variable "node_count" {
+ type = number
+ description = "The amount of initial worker nodes"
+ default = 2
+}
+
+variable "load_balancer_count" {
+ type = number
+ description = "The amount of initial load balancers"
+ default = 1
+}