workload-cluster
drpebcak/workload-cluster/rancher
Requirements | Name | Version | |------|---------| | terraform | >= 0.12 | | terraform | >= 0.13 | Providers | Name | Version | |------|---------| | aws | n/a | | rancher2 | n/a | Modules No modules. Resources | Name | Type | |------|------| | aws_autoscaling_group.master | resource | | aws_autoscaling_group.worker | resource | | aws_iam_access_key.etcd_backup_user | resource | | aws_iam_instance_profile.cloud_provider_master | resource | | aws_iam_instance_profile.cloud_provider_worker | resource | | aws_iam_role.cloud_provider_master | resource | | aws_iam_role.cloud_provider_worker | resource | | aws_iam_role_policy.cloud_provider_master | resource | | aws_iam_role_policy.cloud_provider_worker | resource | | aws_iam_user.etcd_backup_user | resource | | aws_iam_user_policy.etcd_backup_us
| Name | Type | Description | Default |
|---|---|---|---|
| rancher_api_url | string | URL for Rancher API | required |
| vpc_id | string | VPC ID for this cluster to be created in. | required |
| private_subnets | list(string) | A list of private subnets to create ec2 instances in | required |
| rancher_token_key | string | API Token for Rancher Admin | required |
| name | string | Name to identify Kubernetes cluster | required |
| rancher_deploy_user | string | ID of Deploy user inside Rancher | required |
| cluster_auth_endpoint_internal | bool | Controls whether the load balancer for the cluster fqdn will be public or intern | false |
| nodelocal_ip_address | string | Defines the static and cluster-unique IP used for the nodelocal dns pod | null |
| ssh_keys | list(string) | Public SSH keys to give to instances | [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAA |
| backup_retention | number | Number of etcd backups to retain | 12 |
| drain_timeout | number | Node drain timeout | 60 |
| cluster_dns_server | string | IP for cluster dns service. Should be within service_cluster_ip_range | null |
| cluster_auth_endpoint_enabled | bool | Enable cluster auth endpoint | false |
| worker_instance_type | string | Instance Types for K8S Worker nodes | "m6a.large" |
| kubelet_extra_args | map(any) | extra_args for kubelet | null |
| ingress_provider | string | Provider for ingress. Either 'nginx' or 'none' | null |
| worker_node_count | number | Number of Worker nodes to provision | 3 |
| cloud_provider_name | string | RKE Cloud Provider name to enable | "aws" |
| worker_tags | map(any) | Map of tags for worker nodes to merge with defaults | {} |
| drain_force | bool | Force the drain of RKE Nodes | false |
| drain_delete_local_data | bool | Delete local data while draining | false |
| master_instance_type | string | Instance Types for K8S Master nodes | "m6a.large" |
| master_volume_type | string | Volume Type for K8S Master nodes | "gp3" |
| extra_master_security_groups | list(string) | A list of extra security groups to assign to master nodes | [] |
| kubeproxy_extra_args | map(any) | extra_args for kube-proxy | null |
| kube_api_audit_log_config_max_size | number | The maximum size in megabytes of the audit log file before it gets rotated | 100 |
| … and 10 more inputs | |||
worker_iam_roleworker_security_groupscluster_idcluster_auth_endpointregistration_commandworker_tagsworker_instance_profilemaster_tagsworker_instance_profile_namedefault_worker_security_group_id