Skip to content

mholasek/terraform-rancher-workload-cluster

 
 

Repository files navigation

Providers

Name Version
aws n/a
rancher2 n/a

Inputs

Name Description Type Default Required
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_description Description of K8S clusters for Rancher string "Terraform managed RKE cluster" 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 int 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
kube_api_extra_args extra_args for kube-api map n/a yes
kube_controller_extra_args extra_args for kube-controller map n/a yes
kubelet_extra_args extra_args for kubelet map n/a yes
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 {} 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 n/a yes
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 {} no

Outputs

Name Description
cluster_id n/a
default_worker_security_group_id n/a
master_tags n/a
registration_command n/a
worker_iam_role n/a
worker_instance_profile n/a
worker_security_groups n/a
worker_tags n/a

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%