workload-cluster

drpebcak/workload-cluster/rancher

Terraform Module HCL RANCHER
Install
module "workload-cluster" {
source = "drpebcak/workload-cluster/rancher"
version = "0.16.1"
}
plain text: /constructs/tfmod-drpebcak-workload-cluster-rancher/install.txt
⭐ Source on GitHub 📦 Registry page
README

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

Inputs (50)
NameTypeDescriptionDefault
rancher_api_urlstringURL for Rancher API required
vpc_idstringVPC ID for this cluster to be created in. required
private_subnetslist(string)A list of private subnets to create ec2 instances in required
rancher_token_keystringAPI Token for Rancher Admin required
namestringName to identify Kubernetes cluster required
rancher_deploy_userstringID of Deploy user inside Rancher required
cluster_auth_endpoint_internalboolControls whether the load balancer for the cluster fqdn will be public or internfalse
nodelocal_ip_addressstringDefines the static and cluster-unique IP used for the nodelocal dns podnull
ssh_keyslist(string)Public SSH keys to give to instances[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAA
backup_retentionnumberNumber of etcd backups to retain12
drain_timeoutnumberNode drain timeout60
cluster_dns_serverstringIP for cluster dns service. Should be within service_cluster_ip_rangenull
cluster_auth_endpoint_enabledboolEnable cluster auth endpointfalse
worker_instance_typestringInstance Types for K8S Worker nodes"m6a.large"
kubelet_extra_argsmap(any)extra_args for kubeletnull
ingress_providerstringProvider for ingress. Either 'nginx' or 'none'null
worker_node_countnumberNumber of Worker nodes to provision3
cloud_provider_namestringRKE Cloud Provider name to enable"aws"
worker_tagsmap(any)Map of tags for worker nodes to merge with defaults{}
drain_forceboolForce the drain of RKE Nodesfalse
drain_delete_local_databoolDelete local data while drainingfalse
master_instance_typestringInstance Types for K8S Master nodes"m6a.large"
master_volume_typestringVolume Type for K8S Master nodes"gp3"
extra_master_security_groupslist(string)A list of extra security groups to assign to master nodes[]
kubeproxy_extra_argsmap(any)extra_args for kube-proxynull
kube_api_audit_log_config_max_sizenumberThe maximum size in megabytes of the audit log file before it gets rotated100
… and 10 more inputs
Outputs (10)
worker_iam_role
worker_security_groups
cluster_id
cluster_auth_endpoint
registration_command
worker_tags
worker_instance_profile
master_tags
worker_instance_profile_name
default_worker_security_group_id
Resources (22)
aws_autoscaling_attachmentaws_autoscaling_groupaws_iam_access_keyaws_iam_instance_profileaws_iam_roleaws_iam_role_policyaws_iam_useraws_iam_user_policyaws_launch_templateaws_lbaws_lb_listeneraws_lb_target_groupaws_s3_bucketaws_s3_bucket_aclaws_s3_bucket_public_access_blockaws_s3_bucket_server_side_encryption_configurationaws_s3_bucket_versioningaws_security_groupaws_security_group_rulerancher2_clusterrancher2_cluster_role_template_bindingrancher2_cluster_sync
Details
FrameworkTerraform Module
LanguageHCL
Version0.16.1
Cloud RANCHER
★ Stars5
Forks9
Total downloads2.2k
Inputs50
Outputs10
Resources22
Namespacedrpebcak
Updated