Does Alpine have known DNS issue within Kubernetes?

Yes, the Alpine images are known to be problematic in Kubernetes cluster concerning DNS queries. Even if it is not clear if the bug has been effectively fixed in any current version of Alpine, here are some related links: https://github.com/kubernetes-sigs/kind/issues/442 https://gitlab.alpinelinux.org/alpine/aports/-/issues/9017 https://github.com/gliderlabs/docker-alpine/issues/476 I encountered this problem on my side in my Kubernetes clusters as of … Read more

Where to set system default environment variables in Alpine linux?

It seems that /etc/profile is the best place I could find. At least, some environment variables are set there: export CHARSET=UTF-8 export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export PAGER=less export PS1=’\h:\w\$ ‘ umask 022 for script in /etc/profile.d/*.sh ; do if [ -r $script ] ; then . $script fi done According to the contents of /etc/profile, you can … Read more

How to add trusted root CA to Docker alpine

Append your self-signed cert to /etc/ssl/certs/ca-certificates.crt manually. Assuming you have the self-signed certificate in a file in your build directory called my-cert.pem: FROM alpine:latest COPY my-cert.pem /usr/local/share/ca-certificates/my-cert.crt RUN cat /usr/local/share/ca-certificates/my-cert.crt >> /etc/ssl/certs/ca-certificates.crt && \ apk –no-cache add \ curl Note: When you’re using update-ca-certificates, you need to place your cert file into /usr/local/share/ca-certificates/ first. Otherwise … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)