How do I add an intermediate SSL certificate to Kubernetes ingress TLS configuration?

If you add multiple certificates in tls.cert key in Kubernetes TLS Ingress Configuration. Please do this like this —–BEGIN CERTIFICATE—– <put your certificate value in a single line > —–END CERTIFICATE—– —–BEGIN INTERMEDIATE CERTIFICATE—– <put your certificate value in a single line> —–END INTERMEDIATE CERTIFICATE—– Otherwise, you’ll get an error in ssl cert chain validation. … Read more

How to use “kubectl” command instead of “sudo kubectl”

Fix file permissions Most likely your kubectl files are not owned by your user. You can set these permissions using below command. sudo chown -R $USER $HOME/.kube Run kubectl with sudo Alternatively you can run kubectl as sudo user using a persistent sudo shell. sudo -s then run your kubectl commands kubectl get pods kubectl … Read more

Is it possible to install curl into busybox in kubernetes pod

The short answer, is you cannot. Why? Because busybox does not have package manager like: yum, apk, or apt-get .. Acutally you have two solutions: 1. Either use a modified busybox You can use other busybox images like progrium/busybox which provides opkg-install as a package manager. image: progrium/busybox Then: kubectl exec -it busybox — opkg-install … Read more

Import data to config map from kubernetes secret

Kubernetes can’t make that substitution for you, you should do it with shell in the entrypoint of the container. This is a working example. I modify the default entrypoint to create a new variable with that substitution. After this command you should add the desired entrypoint. apiVersion: extensions/v1beta1 kind: Deployment metadata: name: app labels: app: … Read more

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