Alpine + Kubernetes + DNS

Weary travelers breaking into the Kubernetes world – this post is for you. During my journey into K8s, I’ve tried to use a lot of Alpine based images. In many cases, they are considerably more lightweight than the other available images, which makes them especially attractive. But, there are some issues and some workarounds. From my reading, it seemed that all the DNS strangeness should have been fixed around v3.5 of Alpine.



Pycrypto on Alpine

This is just a quick post for weary travelers out there trying to find answers. On Alpine Linux, Pycrypto may not compile correctly. This is because Alpine uses the musl C library as opposed to the C standard library. When trying to compile, you may end up with something like this: checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/tmp/pycrypto-2.6.1': configure: error: C compiler cannot create executables See `config.