{"id":22908843,"url":"https://github.com/ipunkt/rancher-hetzner-lb","last_synced_at":"2025-07-06T11:32:35.910Z","repository":{"id":66084736,"uuid":"138550842","full_name":"ipunkt/rancher-hetzner-lb","owner":"ipunkt","description":"Create Hetzner Cloud hosts which manage a floating ip between them using pacemaker","archived":false,"fork":false,"pushed_at":"2020-05-06T14:29:23.000Z","size":16057,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T09:59:09.833Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipunkt.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":"2018-06-25T06:11:48.000Z","updated_at":"2020-05-06T14:29:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa77b157-4675-47a7-b18c-9cbcf4188862","html_url":"https://github.com/ipunkt/rancher-hetzner-lb","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/ipunkt/rancher-hetzner-lb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francher-hetzner-lb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francher-hetzner-lb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francher-hetzner-lb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francher-hetzner-lb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipunkt","download_url":"https://codeload.github.com/ipunkt/rancher-hetzner-lb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francher-hetzner-lb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263892999,"owners_count":23526194,"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":[],"created_at":"2024-12-14T03:32:35.065Z","updated_at":"2025-07-06T11:32:35.890Z","avatar_url":"https://github.com/ipunkt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rancher-hetzner-lb\nCreate Hetzner Cloud hosts which manage a floating ip between them using pacemaker\n\nThis image is intended for use through the ipunkt rancher catalog: https://github.com/ipunkt/catalog\n\n## Environment Variables\n\n| Variable    | Default      | Explanation     |\n| ----------- |--------------| --------------- |\n| HCLOUD\\_TOKEN     | -      | The token used to create the hosts and later manage the floating ip and fencing the nodes. |\n| SERVERS     | lb01:lb02    | Colon(:) separated list of host(name)s to creates |\n| SERVER\\_SIZE| cx11         | Hetzner server type to create |\n| FLOATING_IP | loadbalancer | The description used set for the floating ip address and used to identified on subsequent runs |\n| SSH_KEY_NAME| loadbalancer_key | The name by which the generated public ssh key is saved to the hetzner cloud api |\n| SSH_KEY_PATH| ./id_rsa     | Path to the ssh private key. Set this to be on a persistent volume unless you use the {PRIVATE,PUBLIC}\\_KEY variables |\n| SSH_EXTRA_PUBKEYS | -     | Extra ssh public keys to add to the servers root auhorized_keys file |\n| CLUSTER\\_INI  | ./cluster.ini | Place to save the cluster.ini to. Set this to be on a persistent volume or set CLUSTER\\_USER\\_PASSWORD|\n| CLUSTER\\_TIMEOUT  | 10000 | Corosync token timeout. How long the cluster waits before it throws out a node when not receiving anything from it. |\n| PRIVATE\\_KEY  | -          | Use this private ssh key instead of generating one. Only effective in conjunction with PUBLIC\\_KEY |\n| CLUSTER_USER_PASSWORD | -           | Password to the `hacluster` user used by pacemaker to link the cluster. Leave empty to generate a password which is then saved in the CLUSTER\\_INI |\n| PUBLIC\\_KEY  | -           | Use this public ssh key instead of generating one. Only effective in conjunction with PRIVATE\\_KEY |\n| HOST\\_LABELS  | lb=true    | Host labels to be set on the rancher entries of the new servers. Only effective when first registered. Change within rancher afterwards |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipunkt%2Francher-hetzner-lb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipunkt%2Francher-hetzner-lb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipunkt%2Francher-hetzner-lb/lists"}