Created
February 20, 2026 15:56
-
-
Save sumitasok/9f1ec5f85ba28bc0c6f31dd3f707044d to your computer and use it in GitHub Desktop.
k-cm-coredns-kind
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (venv) ╭─sa001780 at L04M24KMF7 in ~/code/samples/coredns-on-kind-cluster on main✘✘✘ 26-02-20 - 21:24:47 | |
| ╰─(venv) ⠠⠵ kind create cluster --config kind-config.1.33.1.yaml | |
| Creating cluster "1331" ... | |
| ✓ Ensuring node image (kindest/node:v1.33.1) 🖼 | |
| ✓ Preparing nodes 📦 📦 | |
| ✓ Writing configuration 📜 | |
| ✓ Starting control-plane 🕹️ | |
| ✓ Installing CNI 🔌 | |
| ✓ Installing StorageClass 💾 | |
| ✓ Joining worker nodes 🚜 | |
| Set kubectl context to "kind-1331" | |
| You can now use your cluster with: | |
| kubectl cluster-info --context kind-1331 | |
| Thanks for using kind! 😊 | |
| (venv) ╭─sa001780 at L04M24KMF7 in ~/code/samples/coredns-on-kind-cluster on main✘✘✘ 26-02-20 - 21:25:23 | |
| ╰─(venv) ⠠⠵ k get po -A | |
| NAMESPACE NAME READY STATUS RESTARTS AGE | |
| kube-system coredns-674b8bbfcf-5xgnd 1/1 Running 0 16s | |
| kube-system coredns-674b8bbfcf-gwkng 1/1 Running 0 16s | |
| kube-system etcd-1331-control-plane 1/1 Running 0 25s | |
| kube-system kindnet-h5k48 1/1 Running 0 12s | |
| kube-system kindnet-kqbdq 1/1 Running 0 17s | |
| kube-system kube-apiserver-1331-control-plane 1/1 Running 0 24s | |
| kube-system kube-controller-manager-1331-control-plane 1/1 Running 0 24s | |
| kube-system kube-proxy-gbr4m 1/1 Running 0 12s | |
| kube-system kube-proxy-wprpb 1/1 Running 0 17s | |
| kube-system kube-scheduler-1331-control-plane 1/1 Running 0 24s | |
| local-path-storage local-path-provisioner-7dc846544d-c6llr 1/1 Running 0 16s | |
| (venv) ╭─sa001780 at L04M24KMF7 in ~/code/samples/coredns-on-kind-cluster on main✘✘✘ 26-02-20 - 21:25:34 | |
| ╰─(venv) ⠠⠵ k get cm -A | |
| NAMESPACE NAME DATA AGE | |
| default kube-root-ca.crt 1 20s | |
| kube-node-lease kube-root-ca.crt 1 20s | |
| kube-public cluster-info 2 29s | |
| kube-public kube-root-ca.crt 1 20s | |
| kube-system coredns 1 28s | |
| kube-system extension-apiserver-authentication 6 30s | |
| kube-system kube-apiserver-legacy-service-account-token-tracking 1 30s | |
| kube-system kube-proxy 2 28s | |
| kube-system kube-root-ca.crt 1 20s | |
| kube-system kubeadm-config 1 29s | |
| kube-system kubelet-config 1 29s | |
| local-path-storage kube-root-ca.crt 1 20s | |
| local-path-storage local-path-config 4 26s | |
| (venv) ╭─sa001780 at L04M24KMF7 in ~/code/samples/coredns-on-kind-cluster on main✘✘✘ 26-02-20 - 21:25:38 | |
| ╰─(venv) ⠠⠵ k describe cm coredns -n kube-system | |
| Name: coredns | |
| Namespace: kube-system | |
| Labels: <none> | |
| Annotations: <none> | |
| Data | |
| ==== | |
| Corefile: | |
| ---- | |
| .:53 { | |
| errors | |
| health { | |
| lameduck 5s | |
| } | |
| ready | |
| kubernetes cluster.local in-addr.arpa ip6.arpa { | |
| pods insecure | |
| fallthrough in-addr.arpa ip6.arpa | |
| ttl 30 | |
| } | |
| prometheus :9153 | |
| forward . /etc/resolv.conf { | |
| max_concurrent 1000 | |
| } | |
| cache 30 { | |
| disable success cluster.local | |
| disable denial cluster.local | |
| } | |
| loop | |
| reload | |
| loadbalance | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment