Difference between revisions of "CoreDNS"
Jump to navigation
Jump to search
↑ https://coredns.io/
(11 intermediate revisions by 5 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 7: | Line 8: | ||
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 == | ||
Line 13: | 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 28: | 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> | ||
− | |||
* <code>[[dnsPolicy:]]</code> | * <code>[[dnsPolicy:]]</code> | ||
− | |||
* [[EKS add-ons]]: <code>[[kube-dns]], [[kube-proxy]]</code> | * [[EKS add-ons]]: <code>[[kube-dns]], [[kube-proxy]]</code> | ||
* <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 == |
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]
- 2022-01-24 1.8.7 https://coredns.io/2021/12/09/coredns-1.8.7-release/
- 2020/06/15 1.7.0 https://coredns.io/2020/06/15/coredns-1.7.0-release/
Related terms[edit]
- DNS:
kube-dns
kube-system namespace
- Kubernetes 1.13 (December 2018)
kubeadm config images pull
- Miek Gieben
- EKS:
kubectl get service kube-dns -n kube-system
kubectl cluster-info
dnsPolicy:
- EKS add-ons:
kube-dns, kube-proxy
kubectl get serviceaccounts
- Kubernetes DNS
Activities[edit]
- https://aws.amazon.com/premiumsupport/knowledge-center/eks-dns-failure/
- CKA 1.28: Know how to configure and use CoreDNS
See also[edit]
- CoreDNS,
kube-dns
, Know how to configure and use CoreDNS,Corefile
- Kubernetes networking: network policies, Network Policy Providers, CNI, Calico, flannel, Service mesh, Istio,
kube-proxy, coredns, AWS VPC CNI: vpc-cni
, Kubernetes: Ingress controllers, IPVS, ServiceTypes:LoadBalancer, ClusterIP, NodePort, ExternalName
, Endpoints, EndpointSlices, Kubernetes DNS,svc.cluster.local
, Weave Net
Advertising: