Difference between revisions of "CoreDNS"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[wikipedia:CoreDNS]] <ref>https://coredns.io/</ref> ([[2019]]) DNS and [[Service discovery]]
 
[[wikipedia:CoreDNS]] <ref>https://coredns.io/</ref> ([[2019]]) DNS and [[Service discovery]]
 
* https://coredns.io/
 
* https://coredns.io/
 +
* <code>[[Corefile]]</code>
  
 
  kubectl -n [[kube-system]] [[-l]]=k8s-app=[[kube-dns]] [[get pods]]
 
  kubectl -n [[kube-system]] [[-l]]=k8s-app=[[kube-dns]] [[get pods]]
Line 18: Line 19:
 
* <code>https://</code> for DNS over HTTPS, see RFC 8484.
 
* <code>https://</code> for DNS over HTTPS, see RFC 8484.
 
* <code>grpc://</code> for DNS over [[gRPC]]
 
* <code>grpc://</code> for DNS over [[gRPC]]
 +
 +
== Errors ==
 +
* <code>[[Error: waiting for EKS Add-On]]</code>
 +
* <code>[[Bad response statusCode (422)]]</code>
  
 
== Versions ==
 
== Versions ==
Line 33: Line 38:
 
* [[EKS]]: <code>[[kubectl get service]] [[kube-dns]] -n kube-system</code>
 
* [[EKS]]: <code>[[kubectl get service]] [[kube-dns]] -n kube-system</code>
 
* <code>[[kubectl cluster-info]]</code>
 
* <code>[[kubectl cluster-info]]</code>
* [[CKA 1.23]]: [[Know how to configure and use CoreDNS]]
 
 
* <code>[[dnsPolicy:]]</code>
 
* <code>[[dnsPolicy:]]</code>
 
* [[EKS add-ons]]: <code>[[kube-dns]], [[kube-proxy]]</code>
 
* [[EKS add-ons]]: <code>[[kube-dns]], [[kube-proxy]]</code>
Line 41: Line 45:
 
== Activities ==
 
== Activities ==
 
* https://aws.amazon.com/premiumsupport/knowledge-center/eks-dns-failure/
 
* https://aws.amazon.com/premiumsupport/knowledge-center/eks-dns-failure/
 +
* [[CKA 1.28]]: [[Know how to configure and use CoreDNS]]
  
 
== See also ==
 
== See also ==

Latest revision as of 07:56, 26 February 2024

wikipedia:CoreDNS [1] (2019) DNS and Service discovery

kubectl -n kube-system -l=k8s-app=kube-dns get pods
NAME                      READY   STATUS    RESTARTS   AGE
coredns-f47955f89-7ntw4   0/1     Pending   0          3h37m
coredns-f47955f89-sl79r   0/1     Pending   0          3h37m

EKS[edit]

Terraform:

 cluster_addons = {
   coredns = {
     preserve    = true
     most_recent = true

     timeouts = {
       create = "25m"
       delete = "10m"
     }
   }
   kube-proxy = {
     most_recent = true
   }
   vpc-cni = {
     most_recent = true
   }
   aws-ebs-csi-driver = {
     most_recent = true
   }
 }

Related: Terraform EKS module official usage example

Protocols[edit]

  • dns:// for plain DNS (the default if no scheme is specified).
  • tls:// for DNS over TLS, see RFC 7858.
  • https:// for DNS over HTTPS, see RFC 8484.
  • grpc:// for DNS over gRPC

Errors[edit]

Versions[edit]


Related terms[edit]

Activities[edit]

See also[edit]

  • https://coredns.io/
  • Advertising: