Add keepalived tracking for kube-apiserver
- Also bump reclass-system
Change-Id: I59fd5dd7f30cb7d06002e42fcf2367c845472518
PROD-Related: PROD-20456
diff --git a/classes/cluster/sl-k8s-calico/kubernetes/control.yml b/classes/cluster/sl-k8s-calico/kubernetes/control.yml
index 0dc70b6..270555a 100644
--- a/classes/cluster/sl-k8s-calico/kubernetes/control.yml
+++ b/classes/cluster/sl-k8s-calico/kubernetes/control.yml
@@ -1,6 +1,7 @@
classes:
- service.etcd.server.cluster
- system.haproxy.proxy.listen.kubernetes.apiserver
+- system.keepalived.cluster.instance.kube_api_server_vip
- system.linux.system.repo.mcp.apt_mirantis.docker_legacy
- system.salt.minion.cert.etcd_server
- system.kubernetes.master.cluster
@@ -11,8 +12,9 @@
- cluster.sl-k8s-calico
parameters:
_param:
- keepalived_vip_interface: ${_param:primary_interface}
- keepalived_vip_virtual_router_id: 60
+ keepalived_k8s_apiserver_vip_interface: ${_param:primary_interface}
+ keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
+ keepalived_k8s_apiserver_vip_password: password
etcd:
server:
source: