cert-manager is the most used certificate operator for kubernetes. It can issue certificates from several sources, especially from letsencrypt but at this post, I am going to learn you how to use a personal CA certification authority to allow you to generate certificates on your LAB’s.
First we need to install cert-manager on your kubernetes cluster
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.yaml
Now we are going to verify the cert-manager is running
root@zbox:~# kubectl -n cert-manager get po
NAME READY STATUS RESTARTS AGE
cert-manager-webhook-578954cdd-wwzgg 1/1 Running 0 14d
cert-manager-86548b886-cflh5 1/1 Running 1 14d
cert-manager-cainjector-6d59c8d4f7-lgtv4 1/1 Running 1 14d