mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-08 11:07:43 +03:00
Fix flannel for 1.6 and apply fixes to enable containerized kubelet
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user