Kubernetes CoreDNS Notes

April 28, 2025 note-to-self k8s

Some notes to help me remember some Kubernetes items:

  • Core DNS handles all of the DNS internally. If it's not in CoreDNS then it checks the external network.
  • ClusterIP means it's only accessible Inside the cluster. That's why we had to port forward in KinD and it makes sense. The ingress controller is a service and all services are accessible inside the cluster. It needs to be set up to have an external IP so it's accessible to the load balancer. The service's cluster ip isn't going to change but pod ips and pod names do change - every time one starts or starts. Internally, we can use the service name and be safe as long as that service exists and wasn't removed.
These posts are for my own understanding. Reader beware. Info may be wrong but it reflects my current understanding.