aws_region |
Region to deploy AWS resources in |
string |
"us-east-1" |
no |
backup_interval_hours |
Interval between etcd backups |
number |
6 |
no |
backup_retention |
Number of etcd backups to retain |
number |
12 |
no |
cloud_provider_name |
RKE Cloud Provider name to enable |
string |
"aws" |
no |
cluster_cidr |
Cidr to use for overlay network |
string |
null |
no |
cluster_description |
Description of K8S clusters for Rancher |
string |
"Terraform managed RKE cluster" |
no |
cluster_dns_server |
IP for cluster dns service. Should be within service_cluster_ip_range |
string |
null |
no |
deploy_user_enabled |
Define whether to give permissions for a deploy user |
bool |
true |
no |
drain_delete_local_data |
Delete local data while draining |
bool |
false |
no |
drain_force |
Force the drain of RKE Nodes |
bool |
false |
no |
drain_timeout |
Node drain timeout |
number |
60 |
no |
extra_master_security_groups |
A list of extra security groups to assign to master nodes |
list(string) |
[] |
no |
extra_worker_security_groups |
A list of extra security groups to assign to worker nodes |
list(string) |
[] |
no |
ingress_provider |
Provider for ingress. Either 'nginx' or 'none' |
string |
null |
no |
kube_api_extra_args |
extra_args for kube-api |
map(any) |
null |
no |
kube_controller_extra_args |
extra_args for kube-controller |
map(any) |
null |
no |
kubelet_extra_args |
extra_args for kubelet |
map(any) |
null |
no |
kubernetes_version |
Version of Kubernetes to install |
string |
"v1.17.0-rancher1-2" |
no |
master_instance_type |
Instance Types for K8S Master nodes |
string |
"m5a.large" |
no |
master_node_count |
Number of Master nodes to provision |
number |
3 |
no |
master_tags |
Map of tags for master nodes to merge with defaults |
map(any) |
{} |
no |
master_volume_type |
Volume Type for K8S Master nodes |
string |
"gp3" |
no |
name |
Name to identify Kubernetes cluster |
string |
n/a |
yes |
private_subnets |
A list of private subnets to create ec2 instances in |
list(string) |
n/a |
yes |
rancher_api_url |
URL for Rancher API |
string |
n/a |
yes |
rancher_deploy_user |
ID of Deploy user inside Rancher |
string |
n/a |
yes |
rancher_token_key |
API Token for Rancher Admin |
string |
n/a |
yes |
scheduler_extra_args |
extra_args for kube-scheduler |
map(any) |
null |
no |
service_cluster_ip_range |
Cidr to use for services |
string |
null |
no |
ssh_keys |
Public SSH keys to give to instances |
list(string) |
[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN5O7k6gRYCU7YPkCH6dyXVW10izMAkDAQtQxNxdRE22 drpebcak" ] |
no |
upgrade_drain |
Drain RKE Nodes |
bool |
false |
no |
upgrade_max_unavailable_worker |
Number or percentage of workers that can be unavailable at the same time |
string |
"10%" |
no |
vpc_id |
VPC ID for this cluster to be created in. |
string |
n/a |
yes |
worker_instance_type |
Instance Types for K8S Worker nodes |
string |
"m5a.large" |
no |
worker_node_count |
Number of Worker nodes to provision |
number |
3 |
no |
worker_tags |
Map of tags for worker nodes to merge with defaults |
map(any) |
{} |
no |
worker_volume_type |
Volume Type for K8S Worker nodes |
string |
"gp3" |
no |