From e909f84966936ccb91b714b263aaf9af654b7bc0 Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Wed, 25 Nov 2020 20:10:19 -0500 Subject: [PATCH] Bump nodelocaldns to 1.16.0 (#6916) This new version uses the same base image as kube-proxy (k8s.gcr.io/build-image/debian-iptables) This allow to automatically pick iptables-legacy or iptables-nft, and be compatible with RHEL/CentOS 8 https://github.com/kubernetes/dns/pull/367 Signed-off-by: Etienne Champetier --- docs/centos8.md | 2 +- roles/download/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/centos8.md b/docs/centos8.md index 8ddbe9e69..695789a5c 100644 --- a/docs/centos8.md +++ b/docs/centos8.md @@ -2,7 +2,7 @@ CentOS 8 ships only with iptables-nft (ie without iptables-legacy) The only tested configuration for now is using Calico CNI -You need to use K8S 1.17+ and to add `calico_iptables_backend: "NFT"` to your configuration +You need to use K8S 1.17+ and to add `calico_iptables_backend: "NFT"` or `calico_iptables_backend: "Auto"` to your configuration If you have containers that are using iptables in the host network namespace (`hostNetwork=true`), you need to ensure they are using iptables-nft. diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index f91e0fcae..9fc115258 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -482,7 +482,7 @@ coredns_version: "1.7.0" coredns_image_repo: "{{ docker_image_repo }}/coredns/coredns" coredns_image_tag: "{{ coredns_version }}" -nodelocaldns_version: "1.15.16" +nodelocaldns_version: "1.16.0" nodelocaldns_image_repo: "{{ kube_image_repo }}/dns/k8s-dns-node-cache" nodelocaldns_image_tag: "{{ nodelocaldns_version }}"