Skip to content

Instantly share code, notes, and snippets.

@rajathithan
Last active August 6, 2022 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajathithan/078723ecd9d51d46826269c53185020c to your computer and use it in GitHub Desktop.
Save rajathithan/078723ecd9d51d46826269c53185020c to your computer and use it in GitHub Desktop.
Kube-DNS config map with upstream nameservers
apiVersion: v1
kind: ConfigMap
data:
upstreamNameservers: |
["DNS-IP-ADRS1","DNS-IP-ADRS2","DNS-IP-ADRS2"]
metadata:
labels:
addonmanager.kubernetes.io/mode: EnsureExists
name: kube-dns
namespace: kube-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment