Skip to content

NodeLocal DNSCache in Elastic Kubernetes Service (Amazon EKS)

Notifications You must be signed in to change notification settings

islamyakin/nodelocaldns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NodeLocal DNSCache

NodeLocal DNSCache in Elastic Kubernetes Service (Amazon EKS)

Instalasi

Download eksctl

Buat Cluster dengan custome DNS. contoh cluster eksctl create cluster -f cluster/eksctl/simple-cluster.yaml

Edit file nodelocaldns.yaml

kubedns=`kubectl get svc kube-dns -n kube-system -o jsonpath={.spec.clusterIP}`
domain=cluster.local
localdns=169.254.20.10
sed -i "s/__PILLAR__LOCAL__DNS__/$localdns/g; s/__PILLAR__DNS__DOMAIN__/$domain/g; s/__PILLAR__DNS__SERVER__/$kubedns/g" nodelocaldns.yaml

Simpan konfigurasi kubectl apply -f nodelocaldns.yaml

Referensi

About

NodeLocal DNSCache in Elastic Kubernetes Service (Amazon EKS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages