Skip to content

Latest commit

 

History

History

harvester

Harvester Rancher Quickstart

Two single-node Kubernetes clusters will be created from two Harvester VMs running Ubuntu 20.04 and Docker. Both instances will be accessible over SSH using the SSH keys id_rsa and id_rsa.pub.

Requirements

Name Version
terraform >= 1.0.0
harvester 0.6.1
local 2.4.0
tls 4.0.4

Providers

Name Version
harvester 0.6.1
local 2.4.0
tls 4.0.4

Modules

Name Source Version
rancher_common ../rancher-common n/a

Resources

Name Type
harvester_image.ubuntu20 resource
harvester_ssh_key.quickstart_ssh_key resource
harvester_virtualmachine.quickstart_node resource
harvester_virtualmachine.rancher_server resource
local_file.ssh_public_key_openssh resource
local_sensitive_file.ssh_private_key_pem resource
tls_private_key.global_key resource
harvester_network.rancher data source

Inputs

Name Description Type Default Required
kubeconfig_path Kubeconfig file path to connect to the Harvester cluster string n/a yes
kubecontext Name of the kubernetes context to use to the Harvester cluster string n/a yes
network_name Name of the Harvester network to deploy the VMs into string n/a yes
rancher_server_admin_password Admin password to use for Rancher server bootstrap, min. 12 characters string n/a yes
cert_manager_version Version of cert-manager to install alongside Rancher (format: 0.0.0) string "1.11.0" no
namespace Harvester namespace to deploy the VMs into string "default" no
prefix Prefix added to names of all resources string "quickstart" no
rancher_kubernetes_version Kubernetes version to use for Rancher server cluster string "v1.24.14+k3s1" no
rancher_version Rancher server version (format: v0.0.0) string "2.7.9" no
workload_kubernetes_version Kubernetes version to use for managed workload cluster string "v1.24.14+rke2r1" no

Outputs

Name Description
rancher_node_ip n/a
rancher_server_url n/a