Add keepalived tracking for kube-apiserver
- Also bump reclass-system
Change-Id: I59fd5dd7f30cb7d06002e42fcf2367c845472518
PROD-Related: PROD-20456
diff --git a/classes/cluster/virtual-mcp11-k8s-calico-dyn/kubernetes/control.yml b/classes/cluster/virtual-mcp11-k8s-calico-dyn/kubernetes/control.yml
index 3823e73..94958ec 100644
--- a/classes/cluster/virtual-mcp11-k8s-calico-dyn/kubernetes/control.yml
+++ b/classes/cluster/virtual-mcp11-k8s-calico-dyn/kubernetes/control.yml
@@ -2,6 +2,7 @@
- service.etcd.server.cluster
- service.kubernetes.control.cluster
- system.haproxy.proxy.listen.kubernetes.apiserver
+- system.keepalived.cluster.instance.kube_api_server_vip
- system.linux.system.repo.docker_legacy
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
@@ -12,8 +13,9 @@
- cluster.overrides
parameters:
_param:
- keepalived_vip_interface: ens3
- keepalived_vip_virtual_router_id: 60
+ keepalived_k8s_apiserver_vip_interface: ens3
+ keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
+ keepalived_k8s_apiserver_vip_password: password
etcd:
server:
source: