Ensure haproxy and nginx reload when config changes (#4862)

Change-Id: Ia9a41e7b1cfcb1e6acb2dbae6eecc541dce25a74
This commit is contained in:
Matthew Mosesohn
2019-06-10 15:59:08 +03:00
committed by Kubernetes Prow Robot
parent aa63eb6196
commit 3b7797b1a1
4 changed files with 24 additions and 10 deletions

View File

@@ -6,6 +6,8 @@ metadata:
labels:
addonmanager.kubernetes.io/mode: Reconcile
k8s-app: kube-haproxy
annotations:
haproxy-cfg-checksum: "{{ haproxy_stat.stat.checksum }}"
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet

View File

@@ -6,6 +6,8 @@ metadata:
labels:
addonmanager.kubernetes.io/mode: Reconcile
k8s-app: kube-nginx
annotations:
nginx-cfg-checksum: "{{ nginx_stat.stat.checksum }}"
spec:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet