Skip to content

Latest commit

 

History

History
 
 

do

DigitalOcean Rancher Quickstart

Two single-node RKE Kubernetes clusters will be created from two droplets 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
digitalocean 2.19.0
local 2.2.2
tls 3.1.0

Providers

Name Version
digitalocean 2.19.0
local 2.2.2
tls 3.1.0

Modules

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

Resources

Name Type
digitalocean_droplet.quickstart_node resource
digitalocean_droplet.rancher_server resource
digitalocean_ssh_key.quickstart_ssh_key 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
do_token DigitalOcean API token used to create infrastructure string n/a yes
rancher_server_admin_password Admin password to use for Rancher server bootstrap string n/a yes
cert_manager_version Version of cert-manager to install alongside Rancher (format: 0.0.0) string "1.7.1" no
do_region DigitalOcean region used for all resources string "nyc1" no
docker_version Docker version to install on nodes string "19.03" no
droplet_size Droplet size used for all droplets string "s-2vcpu-4gb" 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
workload_node_ip n/a