yagan
bennu/yagan/byoi
Yagan BYOI > BYOI stands for bring your own infrastructure. This module aims to deploy kubernetes on pre-created infrastructure, just passing a list of nodes (containing a node names and IPs), ssh private key previuosly configured on hosts and a user. such as: ``hcl module cluster { source = "bennu/yagan/byoi" nodes = { controlplane = [ { name = "node-0" ip = "192.168.1.10" labels = {} taints = [] } ] etcd = [ { name = "node-1" ip = "192.168.1.11" labels = {} taints = [] } ] worker = [ { name = "node-2" ip = "192.168.1.12" labels = {} taints = [] } ] } private_key = file(var.private_key) user = "root" ... } ` Customization This module uses yagan/kubernetes and yagan/addons, passing needed variables for both modules, which can be found in vars.tf`. Please refer to each of the modules for do
| Name | Type | Description | Default |
|---|---|---|---|
| kured_timezone | string | "UTC" | |
| drain_grace_period | string | "-1" | |
| treshold_cpu | string | 20 | |
| addons_include | list | [] | |
| cluster_domain | string | "cluster.local" | |
| drain_on_upgrade | string | true | |
| enforce_node_allocatable | string | "pods,system-reserved,kube-reserved" | |
| etcd_extra_args | map | {} | |
| enable_cloud_provider | string | false | |
| ingress_service_type | string | "LoadBalancer" | |
| external_dns_aws_access_key | string | AWS access key to manage DNS zone | "" |
| always_pull_images | string | true | |
| acme_email | string | Email for creating acme account | "" |
| kubelet_extra_binds | list | [] | |
| external_dns_txt_owner_id | string | "" | |
| etcd_backup_retention | string | 6 | |
| vsphere_cluster_id | string | vSphere cluster ID | "" |
| target_treshold_cpu | string | 50 | |
| external_dns_rfc_host | string | "" | |
| etcd_extra_env | list | [] | |
| … and 10 more inputs | |||
api_server_urlca_crtclient_certclient_keycluster_nameusername