Skip to content

yoshz/docker-hetzner-keepalived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Hetzner Keepalived

Docker image running keepalived and Hetzner notify script to assign a floating ip to a node with automatic failover.

Kubernetes deployment

Create namespace

kubectl create namespace keepalived

Create a configmap, for example:

cat <<EOF | kubectl create -n keepalived -f -
apiVersion: v1
kind: ConfigMap
metadata:
  name: keepalived
data:
  iface: ens10
  vips: 192.168.11.12/32 dev eth0
EOF

Create a secret with Hetzner API token

kubectl create secret generic hetzner -n keepalived --from-literal=token=YOUR_TOKEN

Install hetzner-keepalived

kubectl apply -f k8s/hetzner-keepalived.yaml

About

Keepalived for Hetzner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published