Global Variable
Vagrant home 주소
export INSTALL_PATH=/home/vagrant
VirtaulBox interface 설정
export VM_INTERFACE_NAME=enp0s8
- HAProxy에서 사용됨
sudo cat << EOF | sudo tee -a /etc/keepalived/keepalived.conf
vrrp_instance VI_1 {
interface $INTERFACE_NAME
IP 설정
- Node 설정
# Node
export MASTER01=192.168.100.101
export MASTER02=192.168.100.102
export WORKER01=192.168.100.111
export WORKER02=192.168.100.112
export CLUSTER_ENDPOINT=192.168.100.200
# Portal
export PORTAL_MASTER_NODE_PUBLIC_IP=cluster-endpoint
export PORTAL_HOST_IP=192.168.100.201
export PORTAL_HOST_DOMAIN=k-paas.io
- Local(PC) 설정
192.168.100.201 k-paas.io
192.168.100.201 vault.k-paas.io
192.168.100.201 harbor.k-paas.io
192.168.100.201 keycloak.k-paas.io
192.168.100.201 portal.k-paas.io
- CLUSTER_ENDPOINT
- master 서버 이중화를 위해서 virtual ip 설정(keepalive, haproxy)
- master node apiserver 주소