Installing coredns on GKE

3/12/2019

New Amazon EKS clusters created with Kubernetes version 1.11 ship with CoreDNS as the default DNS. I was wondering if:

  1. GKE plans to do the same
  2. Has anyone posted instructions on how to install coredns in GKE
-- Adam
coredns
google-cloud-platform
google-kubernetes-engine

1 Answer

3/22/2019

If you want to changing it, there are several guide, for example this one.

Also, in this official page of Kubernetes you can find how to install CoreDNS instead of kube-dns.

TL:DR:

In Kubernetes version 1.10 and later:

kubeadm upgrade apply v1.11.0 --feature-gates=CoreDNS=true

In Kubernetes version 1.13 and later the CoreDNS feature gate is removed and CoreDNS is used by default

-- Cristian Sanchez
Source: StackOverflow