Kubernetes

NodeLocal DNSCache - CoreDNS 부하줄이기

DevelopC 2022. 9. 26. 16:58
728x90

NodeLocal DNSCache

kubernetes cluster에서는 DNS 질의를 모두 CoreDNS를 사용합니다. 그러므로 CoreDNS에 부하가 발행할 수 있습니다. CoreDNS에 부하가 발생하면, DNS 질의 실패로 서비스에 장애가 발생할 수 있고, AWS에서는 DNS Hard Limit 제한에 걸릴 수 있으니 조심해야 합니다.  NodeLocal DNSCache 데몬셋을 설치하면 DNS 성능 향상 및 CoreDNS에 부하를 줄일 수 있습니다.

Install

helm을 사용하여 설치합니다.

$ helm repo add deliveryhero https://charts.deliveryhero.io/
$ helm repo update
$ helm install node-local-dns -n kube-system deliveryhero/node-local-dns

참고

 

Using NodeLocal DNSCache in Kubernetes Clusters

FEATURE STATE: Kubernetes v1.18 [stable] This page provides an overview of NodeLocal DNSCache feature in Kubernetes. Before you begin You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your clust

kubernetes.io

 

728x90

'Kubernetes' 카테고리의 다른 글

NVIDIA device plugin for Kubernetes  (2) 2022.09.29
KEDA - Kubernetes Event-driven Autoscaling  (0) 2022.09.28
Amazon EFS CSI Driver  (0) 2022.09.23
Kubernetes RBAC 알아보기  (0) 2022.09.22
CoreDNS NXDOMAIN 오류 해결  (0) 2022.09.21