Connor Demille
May 12, 2021

--

This post is purely academic. Pihole isn't a great service with which to learn kubernetes and most people don't need more than one DNS server anyway. That said, running pihole on kubernetes is cool and _could_ have practical benefits with some additional work (beyond the scope of this tutorial).

For next steps, the following could be useful:

- a StatefulSet (rather than Deployment)

- higher replica count (the tutorial only uses one)

- node labels (for assigning pods to nodes)

- pod anti-affinity (so no two piholes share a node)

You can find info on pod anti-affinity here:

https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/

--

--

No responses yet