Skip to content

Latest commit

 

History

History
80 lines (67 loc) · 6.71 KB

README.md

File metadata and controls

80 lines (67 loc) · 6.71 KB

Azure Rancher Quickstart

Two single-node RKE Kubernetes clusters will be created from two linux virtual instances running SLES 15 and Docker. Both instances will have wide-open security groups and will be accessible over SSH using the SSH keys id_rsa and id_rsa.pub.

Requirements

Name Version
terraform >= 1.0.0
azurerm 3.0.2
local 2.2.2
tls 3.1.0

Providers

Name Version
azurerm 3.0.2
local 2.2.2
tls 3.1.0

Modules

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

Resources

Name Type
azurerm_linux_virtual_machine.quickstart-node resource
azurerm_linux_virtual_machine.rancher_server resource
azurerm_network_interface.quickstart-node-interface resource
azurerm_network_interface.quickstart-windows-node-interface resource
azurerm_network_interface.rancher-server-interface resource
azurerm_public_ip.quickstart-node-pip resource
azurerm_public_ip.quickstart-windows-node-pip resource
azurerm_public_ip.rancher-server-pip resource
azurerm_resource_group.rancher-quickstart resource
azurerm_subnet.rancher-quickstart-internal resource
azurerm_virtual_machine_extension.join-rancher resource
azurerm_virtual_network.rancher-quickstart resource
azurerm_windows_virtual_machine.quickstart-windows-node resource
local_file.ssh_public_key_openssh resource
local_sensitive_file.ssh_private_key_pem resource
tls_private_key.global_key resource

Inputs

Name Description Type Default Required
azure_client_id Azure client id used to create resources string n/a yes
azure_client_secret Client secret used to authenticate with Azure apis string n/a yes
azure_subscription_id Azure subscription id under which resources will be provisioned string n/a yes
azure_tenant_id Azure tenant id used to create resources string n/a yes
rancher_server_admin_password Admin password to use for Rancher server bootstrap string n/a yes
windows_admin_password Admin password to use for the Windows VM string n/a yes
add_windows_node Add a windows node to the workload cluster bool false no
azure_location Azure location used for all resources string "East US" no
cert_manager_version Version of cert-manager to install alongside Rancher (format: 0.0.0) string "1.7.1" no
docker_version Docker version to install on nodes string "19.03" no
instance_type Instance type used for all linux virtual machines string "Standard_DS2_v2" 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.21.11+k3s1" no
rancher_version Rancher server version (format: v0.0.0) string "v2.6.4" no
workload_kubernetes_version Kubernetes version to use for managed workload cluster string "v1.21.10-rancher1-1" no

Outputs

Name Description
rancher_node_ip n/a
rancher_server_url n/a
windows-workload-ips n/a
workload_node_ip n/a