{"id":22071816,"url":"https://github.com/mhutter/ansible-k8s-hcloud","last_synced_at":"2026-05-09T04:34:16.800Z","repository":{"id":146445856,"uuid":"233817134","full_name":"mhutter/ansible-k8s-hcloud","owner":"mhutter","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-21T10:37:29.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:17:59.001Z","etag":null,"topics":["ansible","hcloud","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhutter.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-01-14T10:35:20.000Z","updated_at":"2020-02-21T10:37:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"180791a5-6fc7-4cb6-901e-4fcd5a763155","html_url":"https://github.com/mhutter/ansible-k8s-hcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mhutter/ansible-k8s-hcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fansible-k8s-hcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fansible-k8s-hcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fansible-k8s-hcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fansible-k8s-hcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhutter","download_url":"https://codeload.github.com/mhutter/ansible-k8s-hcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhutter%2Fansible-k8s-hcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32807273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansible","hcloud","kubernetes"],"created_at":"2024-11-30T20:34:26.706Z","updated_at":"2026-05-09T04:34:16.781Z","avatar_url":"https://github.com/mhutter.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Kubernetes on Hetzner Cloud setup =\n\nAnsible Playbook \u0026 helper scripts to set up Kubernetes on Hetzner Cloud.\n\nReferences:\n- https://community.hetzner.com/tutorials/install-kubernetes-cluster\n\n== Preparation\n\n1. `cp hosts.yml{.example,}`\n2. `cp group_vars/all.yml{.example,}`\n3. Edit `hosts.yml` and `group_vars/all.yml`\n\n== Kubeadm init\n\n----\ninternal_ip=\"$(ifconfig ens10 | awk '/inet /{print $2}')\"\nkubeadm init \\\n  --pod-network-cidr=10.244.0.0/16 \\\n  --apiserver-cert-extra-sans \"$internal_ip\"\n----\n\n== Deploy CNI, CCM, CSI\n\nOn the master:\n\n----\nkubectl apply -f hcloud-config.yml\nkubectl apply -f https://raw.githubusercontent.com/hetznercloud/hcloud-cloud-controller-manager/master/deploy/v1.5.0.yaml\nkubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml\n----\n\n== Install FluxCD\n\n----\nexport GHUSER=mhutter\nfluxctl install \\\n  --git-user=${GHUSER} \\\n  --git-email=${GHUSER}@users.noreply.github.com \\\n  --git-url=git@github.com:${GHUSER}/flux-hcloud.git \\\n  --namespace=flux | kubectl apply -f -\n----\n\n== License\n\nMIT (see link:LICENSE[LICENSE])\n\n---\n\u003e https://hutter.io/[Manuel Hutter] -\n\u003e GitHub https://github.com/mhutter[@mhutter] -\n\u003e Twitter https://twitter.com/dratir[@dratir]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhutter%2Fansible-k8s-hcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhutter%2Fansible-k8s-hcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhutter%2Fansible-k8s-hcloud/lists"}