Skip to content

duffqiu/keepalived

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

keepalived

docker file for keepalived base on centos7

only support vrrp without lvs

  • build keepalived bin file without lvs
./configure --disable-lvs-syncd --disable-lvs --enable-snmp --enable-sha1
make
  • need to run the container with --net=host --privileged

  • note: it seems -f doesn't work. need to put the config file in the /etc/keepalived path

another way to use the keepavlied with yum install, it will contain lvs feature

  • need to load the ip_vs module in coreos kernel before run keepalived sudo modprobe -a ip_vs

  • if forget the load the ip_vs, keepalived will make host systemd_coredump, and it will occupied cup very high

  • and keepalived log will show IPVS: Can't initialize ipvs: Protocol

About

docker file for keepalived base on centos7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages