Refactoring resolv.conf

- Renaming templates for netchecker
- Add dnsPolicy: ClusterFirstWithHostNet to kube-proxy

Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
This commit is contained in:
Sergii Golovatiuk
2017-03-28 16:33:07 +02:00
parent f8cf6b4f7c
commit 2670eefcd4
8 changed files with 50 additions and 8 deletions

View File

@@ -7,6 +7,9 @@ metadata:
k8s-app: kube-proxy
spec:
hostNetwork: true
{% if kube_version | version_compare('v1.6', '>=') %}
dnsPolicy: ClusterFirstWithHostNet
{% endif %}
containers:
- name: kube-proxy
image: {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }}