Difference between revisions of "CoreDNS"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by 7 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]]
 
  NAME                      READY  STATUS    RESTARTS  AGE
 
  NAME                      READY  STATUS    RESTARTS  AGE
 
  [[coredns]]-f47955f89-7ntw4  0/1    Pending  0          3h37m
 
  [[coredns]]-f47955f89-7ntw4  0/1    Pending  0          3h37m
 
  coredns-f47955f89-sl79r  0/1    Pending  0          3h37m
 
  coredns-f47955f89-sl79r  0/1    Pending  0          3h37m
  
 +
== [[EKS]] ==
 +
Terraform:
 +
{{cluster_addons example}}
 +
 +
Related: [[Terraform EKS module official usage example]]
  
 
== Protocols ==
 
== Protocols ==
* dns:// for plain DNS (the default if no scheme is specified).
+
* <code>dns://</code> for plain DNS (the default if no scheme is specified).
* tls:// for DNS over TLS, see RFC 7858.
+
* <code>tls://</code> for DNS over TLS, see RFC 7858.
* https:// for DNS over HTTPS, see RFC 8484.
+
* <code>https://</code> for DNS over HTTPS, see RFC 8484.
* grpc:// 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 22: Line 31:
  
 
== Related terms ==
 
== Related terms ==
* [[DNS]]
+
* [[DNS]]: <code>[[kube-dns]]</code>
 
* <code>[[kube-system]] namespace</code>
 
* <code>[[kube-system]] namespace</code>
 
* [[Kubernetes 1.13]] (December 2018)
 
* [[Kubernetes 1.13]] (December 2018)
 
* <code>[[kubeadm config images pull]]</code>
 
* <code>[[kubeadm config images pull]]</code>
 
* [[Miek Gieben]]
 
* [[Miek Gieben]]
* <code>[[kube-dns]]</code>
+
* [[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>
* <code>[[forward]]</code>
+
* [[EKS add-ons]]: <code>[[kube-dns]], [[kube-proxy]]</code>
* [[EKS add-ons]]
 
 
* <code>[[kubectl get serviceaccounts]]</code>
 
* <code>[[kubectl get serviceaccounts]]</code>
 +
* [[Kubernetes DNS]]
  
 
== 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 ==
 
* {{CoreDNS}}
 
* {{CoreDNS}}
* {{K8s}}
+
* {{Kubernetes networking}}
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

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: