this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add k3s cluster and node pool module

+27 -2
+4 -2
infra/main.tf
··· 1 - module "virtual_machine" { 2 - source = "./modules/virtual-machine" 1 + module "k3s_cluster" { 2 + source = "./modules/k3s-cluster" 3 + server_count = 1 4 + agent_count = 3 3 5 }
+9
infra/modules/k3s-cluster/main.tf
··· 1 + module "server_pool" { 2 + source = "../k3s-node-pool" 3 + node_count = var.server_count 4 + } 5 + 6 + module "agent_pool" { 7 + source = "../k3s-node-pool" 8 + node_count = var.agent_count 9 + }
infra/modules/k3s-cluster/outputs.tf

This is a binary file and will not be displayed.

+7
infra/modules/k3s-cluster/variables.tf
··· 1 + variable "server_count" { 2 + description = "Number of server (master) nodes" 3 + } 4 + 5 + variable "agent_count" { 6 + description = "Number of agent nodes" 7 + }
+4
infra/modules/k3s-node-pool/main.tf
··· 1 + module "virtual_machine" { 2 + count = var.node_count 3 + source = "../virtual-machine" 4 + }
+3
infra/modules/k3s-node-pool/variables.tf
··· 1 + variable "node_count" { 2 + description = "Number of node in the pool" 3 + }
infra/modules/virtual-cloud-network/main.tf

This is a binary file and will not be displayed.