{"id":25485773,"url":"https://github.com/winterhart/hetzpuff","last_synced_at":"2026-05-02T02:32:23.809Z","repository":{"id":258095776,"uuid":"264735243","full_name":"Winterhart/hetzpuff","owner":"Winterhart","description":"Kubernetes cluster out of Hetzner cloud","archived":false,"fork":false,"pushed_at":"2020-05-18T18:13:47.000Z","size":126,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-17T16:49:16.930Z","etag":null,"topics":["hardening","hetzner","kubernetes","security","terraform"],"latest_commit_sha":null,"homepage":"","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/Winterhart.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}},"created_at":"2020-05-17T18:53:07.000Z","updated_at":"2020-06-04T02:29:06.000Z","dependencies_parsed_at":"2024-10-18T23:16:57.207Z","dependency_job_id":null,"html_url":"https://github.com/Winterhart/hetzpuff","commit_stats":null,"previous_names":["winterhart/hetzpuff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winterhart%2Fhetzpuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winterhart%2Fhetzpuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winterhart%2Fhetzpuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Winterhart%2Fhetzpuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Winterhart","download_url":"https://codeload.github.com/Winterhart/hetzpuff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239528433,"owners_count":19653917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hardening","hetzner","kubernetes","security","terraform"],"created_at":"2025-02-18T18:39:37.133Z","updated_at":"2025-11-07T11:30:45.773Z","avatar_url":"https://github.com/Winterhart.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hetzpuff\nAttempts to create Kubernetes cluster out of Hetzner cloud.\n\n\n## Running \n\n**Requirements**\n\nTool       | Version      | Reason                         | Install\n---------- | ------------ | ------------------------------ | ------------------------------------------------------------------------------\n`docker`   | `~ v19.03.5` | Build container images         | [docker.com](https://docs.docker.com/install/#supported-platforms)\n`kubectl`  | `~v1.16` | Interact with the kube api     | [kubernetes.io](https://kubernetes.io/docs/tasks/tools/install-kubectl/)\n`terraform` | `~ v0.12.25` | Infrastructure as code platform | [terraform.io](https://www.terraform.io/)\n`ssh-agent` | `?` | Save your ssh key   | [ssh-agent](https://linux.die.net/man/1/ssh-agent)\n\n\n## Instruction\n\n- Make sure everything is installed\n- Make an account with Hetzner cloud (https://www.hetzner.com/cloud)\n- Make a cloudflare account (https://www.cloudflare.com/)\n- Make a file named: `variables.tf` in the `./infra` folder based on `variables-examples.tf.txt`\n- Fill the new `variables.tf` with your data or append your `env` with the keys\n- Go into `provisioning` folder and run `terraform init`\n- Go into `hardening` folder and run `terraform init`\n- Make `install-infra.sh` executable\n- You might have to make other `.sh` file executable inside the `provisioning` and the `hardening` folder (depends on you setup)\n- Run the `install-infra.sh` script. The terraform scripts are executed by `install-infra` one after the other. \n\n\n## Cluster \n\nThis project is creating a Kubernetes cluster on Hetzner Cloud and using Cloudflare.\nThe X nodes talk together using a private VPN. \n\nThis script is also trying to install the latest available kubernetes version.\n\n**Sample Results:**\n\n![alt text](https://github.com/Winterhart/hetzpuff/blob/master/docs/fromKubeCtl.png \"\")\n\n**From Hetzner Dashboard**\n\n![alt text](https://github.com/Winterhart/hetzpuff/blob/master/docs/hetzner_cluster.png \"\")\n\nThose IPs are not used anymore ;) \n\n## Hardening\n\nThe first hardening is about securing the VM and not in the Kubernetes cluster.\nThe script is based on the work of konstruktoid/hardening and the goal is to harden\nthe VM before hardening the \"Kubernetes layer\"\n\n\n\n## Source\n\nThis project is made from other projects:\n\n- Kubernetes Cluster Creation Script (https://github.com/hobby-kube/provisioning)\n- Hardening Scripts (https://github.com/konstruktoid/hardening)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinterhart%2Fhetzpuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinterhart%2Fhetzpuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinterhart%2Fhetzpuff/lists"}