ha-k3s
aigisuk/ha-k3s/digitalocean
High Availability K3s Cluster deployed on DigitalOcean (Load Balanced API Server and external Postgres/MySQL Datastore)
Terraform DigitalOcean HA K3S Module An opinionated Terraform module to provision a high availability K3s cluster with external database on the DigitalOcean cloud platform. Perfect for development or testing. !2021-10-24 05_45_35-k3s-cluster_project_DigitalOcean Features [x] High Availability K3s Cluster provisioned on the DigitalOcean platform [x] Managed PostgreSQL/MySQL database provisioned. Serves as the datastore for the cluster's state (configurable options: size & node count) [x] Dedicated VPC provisioned for cluster use (IP Range: 10.10.10.0/24) [x] Number of provisioned Servers (Masters) and Agents (Workers) is configurable [x] Cluster API/Server(s) are behind a provisioned load balancer for high availability [x] All resources assigned to a dedicated DigitalOcean project (expect L
| Name | Type | Description | Default |
|---|---|---|---|
| ssh_key_fingerprints | list(string) | List of SSH Key fingerprints | required |
| do_token | string | DigitalOcean Personal Access Token | required |
| agent_count | number | Number of agent (worker) nodes to provision | 1 |
| server_taint_criticalonly | bool | Allow only critical addons to be scheduled on servers? (thus preventing workload | true |
| k8s_dashboard | bool | Pre-install the Kubernetes Dashboard? (Default is false) | false |
| k8s_dashboard_version | string | Kubernetes Dashboard version | "2.7.0" |
| cert_manager_version | string | cert-manager version | "1.11.0" |
| vpc_network_range | string | Range of IP addresses for the VPC in CIDR notation. Cannot be larger than /16 or | "10.10.10.0/24" |
| server_size | string | Server droplet size. e.g. s-1vcpu-2gb | "s-1vcpu-2gb" |
| agent_tag | string | Agent resource tag name. | "k3s_agent" |
| sys_upgrade_ctrl | bool | Pre-install the System Upgrade Controller? | false |
| ingress | string | Ingress controller to install | "none" |
| traefik_version | string | Traefik version to install (if enabled) | "2.9.7" |
| region | string | Region in which to deploy the cluster. Default is fra1 (Frankfurt, Germany) | "fra1" |
| database_user | string | Database Username | "k3s_default_user" |
| server_tag | string | Server resource tag name. | "k3s_server" |
| server_count | number | Number of server (master) nodes to provision | 2 |
| cert_manager | bool | Pre-install cert-manager? (Default is false) | false |
| database_engine | string | Database engine. PostgreSQL (13) or MySQL (8) | "postgres" |
| database_size | string | Database Droplet size associated with the cluster (ex. db-s-1vcpu-1gb) | "db-s-1vcpu-1gb" |
| flannel_backend | string | Flannel Backend Type. Valid options include vxlan (default), ipsec or wireguard | "vxlan" |
| agent_size | string | Agent droplet size. e.g. s-1vcpu-2gb | "s-1vcpu-2gb" |
cluster_summary — Cluster Summary.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,