I want to play around with the default domain “cluster.local” in a multi cluster K8s playground. How can i do it - I checked there are no “systemctl kubelet”, no /etc/kubernetes/manifests in the worker and control nodes. Looking for some suggestion on this
With MultiNode Single cluster Playground - I have been successful in changing it to “example.local”
controlplane ~ kubectl run dns-test --image=busybox:1.28 --restart=Never --rm -it – sh
If you don’t see a command prompt, try pressing enter.
/ # nslookup nginx.default.svc.example.local
Server: 172.20.0.10
Address 1: 172.20.0.10 kube-dns.kube-system.svc.example.local
Name: nginx.default.svc.example.local
Address 1: 172.20.25.245 nginx.default.svc.example.local