在Rancher上快速部署Keepalived搭建高可用环境
一、环境说明:
二、前提条件:
三、部署截图:
四、参考链接:
一、环境说明:
使用默认的Cattle编排模板,搭建Rancher环境(略)。3台主机及虚拟IP:
IP地址: 机器名 Rancher角色 Keepalived角色
192.168.3.220/24 Rancher Rancher Server --
192.168.3.221/24 node221 Rancher agent MASTER
192.168.3.222/24 node222 Rancher agent BACKUP
192.168.3.223/24 虚拟IP
二、前提条件:
# Rancher 中keepalived应用页面中的说明:
# Requirements
# The host must have the sysctl setting net.ipv4.ip_nonlocal_bind=1 configured.
# 因此,需要先编辑两台agent机器的 /