{"id":27161772,"url":"https://github.com/suquant/tf_kuber_worker","last_synced_at":"2026-02-08T08:33:39.457Z","repository":{"id":145324428,"uuid":"137529076","full_name":"suquant/tf_kuber_worker","owner":"suquant","description":"Terraform Kubernetes Worker Service","archived":false,"fork":false,"pushed_at":"2018-10-26T08:04:52.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T15:40:14.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suquant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-15T20:26:56.000Z","updated_at":"2018-10-26T08:04:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7648d07-cc7d-4a11-a73b-2bd0d07ff982","html_url":"https://github.com/suquant/tf_kuber_worker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/suquant/tf_kuber_worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suquant%2Ftf_kuber_worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suquant%2Ftf_kuber_worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suquant%2Ftf_kuber_worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suquant%2Ftf_kuber_worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suquant","download_url":"https://codeload.github.com/suquant/tf_kuber_worker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suquant%2Ftf_kuber_worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29225478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T06:05:31.539Z","status":"ssl_error","status_checked_at":"2026-02-08T05:58:33.853Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-09T00:57:54.349Z","updated_at":"2026-02-08T08:33:39.452Z","avatar_url":"https://github.com/suquant.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes worker service for terraform\n\n## Key features\n\n* High availability mode with haproxy load balancer (module: tf_kuber_halb)\n\n## Interfaces\n\n### Input variables\n\n* count - count of connections\n* connections - public ips where applied\n* join_command - kubeadm join output\n* kubernetes_version - (default: 1.12)\n* kubernetes_cni_version - (default: 0.6.0-00)\n* node_labels\n* node_taints\n\n### Output variables\n\n* public_ips\n* private_ips\n\n\n## Example\n\n```\nvariable \"token\" {}\nvariable \"master_hosts\" {\n  default = 1\n}\nvariable \"worker_hosts\" {\n  default = 2\n}\n\nvariable \"docker_opts\" {\n  type = \"list\"\n  default = [\n    \"--iptables=false\",\n    \"--ip-masq=false\",\n    \"--storage-driver=overlay2\",\n    \"--live-restore\",\n    \"--log-level=warn\",\n    \"--bip=169.254.123.1/24\",\n    \"--log-driver=json-file\",\n    \"--log-opt=max-size=10m\",\n    \"--log-opt=max-file=5\",\n    \"--insecure-registry 10.0.0.0/8\"\n  ]\n}\n\nprovider \"hcloud\" {\n  token = \"${var.token}\"\n}\n\nmodule \"provider_master\" {\n  source = \"git::https://github.com/suquant/tf_hcloud.git\"\n\n  count = \"${var.master_hosts}\"\n\n  name        = \"master\"\n  server_type = \"cx11\"\n}\n\nmodule \"provider_worker\" {\n  source = \"git::https://github.com/suquant/tf_hcloud.git\"\n\n  count = \"${var.worker_hosts}\"\n\n  name               = \"worker\"\n  ssh_names          = [\"${module.provider_master.ssh_names}\"]\n  ssh_keys           = []\n  server_type        = \"cx11\"\n}\n\nmodule \"wireguard\" {\n  source = \"git::https://github.com/suquant/tf_wireguard.git\"\n\n  count         = \"${var.master_hosts + var.worker_hosts}\"\n  connections   = [\"${concat(module.provider_master.public_ips, module.provider_worker.public_ips)}\"]\n  private_ips   = [\"${concat(module.provider_master.private_ips, module.provider_worker.private_ips)}\"]\n  overlay_cidr  = \"10.254.254.254/32\"\n}\n\n\nmodule \"etcd\" {\n  source = \"git::https://github.com/suquant/tf_etcd.git\"\n\n  count       = \"${var.master_hosts}\"\n  connections = \"${slice(module.wireguard.public_ips, 0, var.master_hosts)}\"\n\n  hostnames   = [\"${slice(module.provider_master.hostnames, 0, var.master_hosts)}\"]\n  private_ips = [\"${slice(module.wireguard.vpn_ips, 0, var.master_hosts)}\"]\n}\n\nmodule \"docker\" {\n  source = \"git::https://github.com/suquant/tf_docker.git\"\n\n  count       = \"${var.master_hosts + var.worker_hosts}\"\n  connections = [\"${module.wireguard.public_ips}\"]\n\n  docker_opts = [\"${var.docker_opts}\"]\n}\n\nmodule \"kuber_master\" {\n  source = \"git::https://github.com/suquant/tf_kuber_master.git\"\n\n  count           = \"${var.master_hosts}\"\n  connections     = [\"${slice(module.docker.public_ips, 0, var.master_hosts)}\"]\n\n  private_ips     = [\"${slice(module.wireguard.vpn_ips, 0, var.master_hosts)}\"]\n  etcd_endpoints  = \"${module.etcd.client_endpoints}\"\n}\n\nmodule \"kuber_worker\" {\n  source = \"git::https://github.com/suquant/tf_kuber_worker.git\"\n\n  count       = \"${var.worker_hosts}\"\n  connections = [\"${slice(module.docker.public_ips, var.master_hosts, var.master_hosts + var.worker_hosts)}\"]\n\n  private_ips         = [\"${slice(module.wireguard.vpn_ips, var.master_hosts, var.master_hosts + var.worker_hosts)}\"]\n  join_command        = \"${module.kuber_master.join_command}\"\n  kubernetes_version  = \"${module.kuber_master.kubernetes_version}\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuquant%2Ftf_kuber_worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuquant%2Ftf_kuber_worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuquant%2Ftf_kuber_worker/lists"}