Merge pull request #1246 from holser/disable_dns_for_kube_services

Change DNS policy for kubernetes components
This commit is contained in:
Matthew Mosesohn
2017-04-20 16:12:52 +03:00
committed by GitHub
5 changed files with 5 additions and 5 deletions

View File

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