server
dtherhtun/server/rancher
Rancher Common Terraform Module The rancher-common module contains all resources that do not depend on a specific cloud provider. RKE, Kubernetes, Helm, and Rancher providers are used given the necessary information about the infrastructure created in a cloud provider. Variables node_public_ip - Required Public IP of compute node for Rancher cluster node_internal_ip - Default: "" Internal IP of compute node for Rancher cluster node_username - Required Username used for SSH access to the Rancher server cluster node ssh_private_key_pem - Required Private key used for SSH access to the Rancher server cluster node Expected to be in PEM format. rke_kubernetes_version - Default: "v1.19.4-rancher1-1" Kubernetes version to use for Rancher server RKE cluster cert_manager_version - Default: "1.0.4"
| Name | Type | Description | Default |
|---|---|---|---|
| node_username | string | Username used for SSH access to the Rancher server cluster node | required |
| rancher_server_dns | string | DNS host name of the Rancher server | required |
| node_public_ip | string | Public IP of compute node for Rancher cluster | required |
| ssh_private_key_pem | string | Private key used for SSH access to the Rancher server cluster node | required |
| admin_password | string | Admin password to use for Rancher server bootstrap | required |
| workload_cluster_name | string | Name for created custom workload cluster | required |
| rke_network_options | string | Network options used for the custom workload cluster | required |
| node_internal_ip | string | Internal IP of compute node for Rancher cluster | "" |
| cert_manager_version | string | Version of cert-manager to install alongside Rancher (format: 0.0.0) | "1.0.4" |
| workload_kubernetes_version | string | Kubernetes version to use for managed workload cluster | "v1.18.12-rancher1-1" |
| rke_network_plugin | string | Network plugin used for the custom workload cluster | "canal" |
| rancher_version | string | Rancher server version (format v0.0.0) | "v2.5.3" |
| windows_prefered_cluster | bool | Activate windows supports for the custom workload cluster | false |
| rke_kubernetes_version | string | Kubernetes version to use for Rancher server RKE cluster | "v1.19.4-rancher1-1" |
rancher_urlcustom_cluster_command — Docker command used to add a node to the quickstart clustercustom_cluster_windows_command — Docker command used to add a windows node to the quickstart cluster