Add keepalived tracking for kube-apiserver
- Also bump reclass-system
Change-Id: I59fd5dd7f30cb7d06002e42fcf2367c845472518
PROD-Related: PROD-20456
diff --git a/classes/cluster/k8s-ha-calico-flannel-virtlet/kubernetes/control.yml b/classes/cluster/k8s-ha-calico-flannel-virtlet/kubernetes/control.yml
index 9547241..34cace7 100644
--- a/classes/cluster/k8s-ha-calico-flannel-virtlet/kubernetes/control.yml
+++ b/classes/cluster/k8s-ha-calico-flannel-virtlet/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
@@ -10,8 +11,9 @@
- cluster.k8s-ha-calico-flannel-virtlet
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:
bind: