Created
April 25, 2018 11:56
-
-
Save Niksko/66f3f948387b9dc46b0b500745759ee2 to your computer and use it in GitHub Desktop.
Terraform config for my home Kubernetes server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module "bare-metal-skouf-home" { | |
| source = "git::https://github.com/Niksko/typhoon//bare-metal/container-linux/kubernetes?ref=ca8feb773b2000a68b567e67d29a7c5fb5a672df" | |
| providers = { | |
| local = "local.default" | |
| null = "null.default" | |
| template = "template.default" | |
| tls = "tls.default" | |
| } | |
| # bare-metal | |
| cluster_name = "skouf-home" | |
| matchbox_http_endpoint = "http://matchbox.home.skouf.com:8080" | |
| container_linux_channel = "stable" | |
| container_linux_version = "1688.5.3" | |
| # configuration | |
| k8s_domain_name = "k8s.home.skouf.com" | |
| ssh_authorized_key = "ssh-rsa AAAAB3NzaC1yc ..." | |
| asset_dir = "/home/niksko/.secrets/clusters/skouf-home" | |
| # machines | |
| controller_names = ["node1"] | |
| controller_macs = ["2C:41:38:7D:F9:40"] | |
| controller_domains = ["node1.home.skouf.com"] | |
| controller_install_disks = ["/dev/disk/by-id/ata-VB0250EAVER_W2A82KJ9"] | |
| controller_network_devices = ["enp3s4f0"] | |
| controller_static_ips = ["10.0.1.1"] | |
| worker_names = [ | |
| ] | |
| worker_macs = [ | |
| ] | |
| worker_domains = [ | |
| ] | |
| worker_install_disks = [ | |
| ] | |
| worker_network_devices = [ | |
| ] | |
| worker_static_ips = [ | |
| ] | |
| gateway_ip = "10.0.0.1" | |
| subnet_mask = "16" | |
| dns_servers = ["10.0.0.1"] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment