Fix flannel for 1.6 and apply fixes to enable containerized kubelet

This commit is contained in:
Matthew Mosesohn
2017-04-05 13:47:03 +03:00
parent ccc11e5680
commit ff2fb9196f
8 changed files with 27 additions and 33 deletions

View File

@@ -13,9 +13,9 @@ spec:
app: netchecker-agent-hostnet
spec:
hostNetwork: True
{%- if kube_version | version_compare('v1.6', '>=') -%}
{% if kube_version | version_compare('v1.6', '>=') %}
dnsPolicy: ClusterFirstWithHostNet
{%- endif -%}
{% endif %}
containers:
- name: netchecker-agent
image: "{{ agent_img }}"