Hi. I'm jon.404, a Unix/Linux/Database/Openstack/Kubernetes Administrator, AWS/GCP/Azure Engineer, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: *nix.
dnscrypt-proxy on docker on kubernetes on Raspberry Pis
Posted 08-31-2019 at 04:33 AM by rocket357
I recently constructed a Raspberry Pi cluster for testing a few distributed systems (ceph, primarily, which failed fantastically due to the 1G memory of the Raspberry Pi 3 B+...I managed to get it *running*, but anytime there was a *recovery operation* the cluster slowed to a halt). More recently I put rak8s on the Pis to test out Kubernetes, using the default Docker backend.
Problem is, arm32v7 Docker images are severely limited, especially compared to what is available on amd64. So I found a nice project that builds Docker images for dnscrypt-proxy on amd64 and put in a pull request for it:
https://github.com/mattbodholdt/dnscrypt-proxy
Once I had this building properly on arm32v7, I uploaded the image to hub.docker.com. Then I constructed my home cluster with NodePort configs in k8s (which allows you to hit any node IP in the cluster on a given port to get to the dnscrypt-proxy services running within the cluster). Finally, I pointed unbound.conf's default forward-zone to the cluster IPs/port.
Neat.
Problem is, arm32v7 Docker images are severely limited, especially compared to what is available on amd64. So I found a nice project that builds Docker images for dnscrypt-proxy on amd64 and put in a pull request for it:
https://github.com/mattbodholdt/dnscrypt-proxy
Once I had this building properly on arm32v7, I uploaded the image to hub.docker.com. Then I constructed my home cluster with NodePort configs in k8s (which allows you to hit any node IP in the cluster on a given port to get to the dnscrypt-proxy services running within the cluster). Finally, I pointed unbound.conf's default forward-zone to the cluster IPs/port.
Neat.
Total Comments 1
Comments
-
Just pushed an arm64v8 docker image for this project. I guess at some point I'll have to figure out how to build multi-arch docker images, but for now I have separate repos for them.
Posted 09-08-2019 at 03:21 AM by rocket357