CKA

CoreDNS in Kubernetes

백셀건전지 2022. 2. 15. 15:20
  • CoreDNS Configuration file 경로
    아래의 명령어 입력 후 config 환경 변수 확인
    kubectl describe deploy -n kube-system coredns​
  • service 호출 할 때 가능한 DNS
    1. web-service.payroll
    2. web-service.payroll.svc
    3. web-service.payroll.svc.cluster.local
    4. web-service
      • 호출하는 주체의 namespace가 수신하는 pod와 같은 namespace일 때에는 namespace 생략 가능
  • ex) payroll namespace pod에서 호출할 때

'CKA' 카테고리의 다른 글

PersistentVolume, PersistentVolumeClaim, StorageClass  (0) 2022.02.17
Cluster Installation using kubeadm  (0) 2022.02.15
Networking  (0) 2022.02.14
Security Contexts  (0) 2022.02.10
Image Security  (0) 2022.02.10