
geoffh1977/keepalived!Keepalived Logo
!Docker Cloud Build Status !Keepalived Badge
This repository is the home of my Keepalived image, a self configuring image which has been setup for use with both Docker and Kubernetes clusters. As my personal intention is to use this image with Raspberry Pi architecture to setup a bare metal multi host master kubernetes cluster, the repository contains configurations for multiple ARM and x86 CPU architectures.
The github repository contains a Kubernetes manifest which is an example of how to execute the container. The manifest will run the container on all Master nodes in the cluster in an attempt to share the Kubernetes API.
When image is run, a script is executed which determines the Primary Network Interface of the machine/instance by checking the network routing table (searchingfor the 0.0.0.0 route). After retriving the IP address of the interface, a Virtual Route ID is set for Keepalived along with a randomly generated password and a Virtual IP.
All these details are placed in a templated kubealived config file and the service is executed.
A Kubernetes manifest is contained within the Github repository with an example of how to set up the container. The container has 4 configurable Environment variables, each of which will be populated automtically if they re not set at runtime. The variables are:
For a cluster to be formed correctly, the PASSWORD variable (at a minimum) must be set so the cluster can operate. An example of a docker command to run keepalived work look something like:
docker run -d -e PASSWORD=sharepwd -e VIRTUAL_IP=10.10.10.1 geoffh1977/keepalived
If you have any comment or queries feel free to leave a comment on Github.


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务