Recall & Review
beginner
What is CoreDNS in Kubernetes?
CoreDNS is the default DNS server in Kubernetes. It helps services and pods find each other by translating service names into IP addresses.
Click to reveal answer
beginner
How does CoreDNS help pods communicate in Kubernetes?
CoreDNS resolves service names to IP addresses, so pods can use simple names instead of IPs to connect to other services.
Click to reveal answer
intermediate
Where is CoreDNS configured in a Kubernetes cluster?
CoreDNS runs as a Deployment in the kube-system namespace and is configured via a ConfigMap named 'coredns'.
Click to reveal answer
intermediate
What file does CoreDNS use to define DNS rules and behavior?
CoreDNS uses a ConfigMap that contains a Corefile. The Corefile defines how DNS queries are handled.
Click to reveal answer
beginner
What happens if CoreDNS is not running in a Kubernetes cluster?
Pods will not be able to resolve service names to IPs, causing communication failures between services.
Click to reveal answer
What is the main role of CoreDNS in Kubernetes?
✗ Incorrect
CoreDNS translates service names into IP addresses so pods can communicate easily.
Where does CoreDNS run inside a Kubernetes cluster?
✗ Incorrect
CoreDNS runs as a Deployment in the kube-system namespace.
What is the name of the file that configures CoreDNS behavior?
✗ Incorrect
CoreDNS uses a Corefile inside a ConfigMap to define DNS rules.
If CoreDNS stops working, what is the likely impact?
✗ Incorrect
Without CoreDNS, pods cannot resolve service names to IPs, breaking communication.
How can you check the CoreDNS pods status?
✗ Incorrect
CoreDNS pods are labeled 'k8s-app=kube-dns' in the kube-system namespace.
Explain how CoreDNS helps pods find each other in Kubernetes.
Think about how computers use DNS to find websites.
You got /4 concepts.
Describe what happens if CoreDNS is not functioning in a Kubernetes cluster.
Consider what happens if you can't look up phone numbers.
You got /4 concepts.