Se connecte à la machine on-premise via SSH et installe k3s single-node puis instancie le module. apply reste à faire une fois la machine prête.
12 lines
372 B
Terraform
12 lines
372 B
Terraform
module "k3s" {
|
|
source = "../../modules/k3s"
|
|
|
|
ssh_host = var.ssh_host
|
|
ssh_port = var.ssh_port
|
|
ssh_user = var.ssh_user
|
|
ssh_private_key_path = var.ssh_private_key_path
|
|
k3s_version = var.k3s_version
|
|
k3s_disable_components = var.k3s_disable_components
|
|
kubeconfig_output_path = var.kubeconfig_output_path
|
|
}
|