Skip to content

A keepalived and haproxy setup to make kubernetes masters high available

Notifications You must be signed in to change notification settings

g6n/ha-k8s-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple config for HA masters

Added configs are examples only and should be used with your own values.

Is meant to be run on docker, and not kubernetes.

Has to be run with two specialties, docker needs to be run in host network mode, and the image needs to be run with a name. For the master this is haproxy01 for the slave it doesnt matter.

your startup line will look like something as:

docker run -d -h haproxy01 --net=host g6nuk/ha-k8s-master:latest and for the secondary docker run -d -h haproxy02 --net=host g6nuk/ha-k8s-master:latest

if you need different names, you will have to modify the startup.sh to select the correct hostname for the master.

Currently the script only supports a two node haproxy cluster.

About

A keepalived and haproxy setup to make kubernetes masters high available

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published