
What does options ndots:5 do? This isn’t something I’d seen outside of Kubesland, and we found a great blog post about the ndots option in the context of Kubes DNS resolution. NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR $ k get pods,services -owide -n kube-system Spin up a pod, curl my NGiNX service by name, and demonstrate that resolving to the right place. DNS works, right?Ī friend was asking how DNS works with regards to Services in Kubes, so I thought I’d run through a quick demo.
Kubes kubernetes code#
Hence, some of the code samples in this article are hideously laid out, and I apologise for any emotional distress caused. The guide invites you to deploy an NGiNX instance, and hook up a NodePort service to it.ĮngineerBetter is a cloud computing and continuous delivery consultancy. By the end of the walkthrough I had three controller VMs running the api-server, etcd and scheduler, and three workers running kubelet and kube-proxy.

Kelsey Hightower’s Kubernetes The Hard Way is a valuable guide to setting up a Kubes cluster ‘by hand’, and so I set about running through it.Īll was going smoothly (well, after I realised that I’d screwed up the kubeconfig for kube-proxy, but that’s another story).

At EngineerBetter, we’re going through the formality of ensuring that we’ve got the Certified Kubernetes Administrator qualification box ticked.
