DEV Community

Vuyisile Ndlovu
Vuyisile Ndlovu

Posted on • Originally published at vuyisile.com on

Installing Cert-Manager in Kubernetes

I use cert-manager in my kubernetes cluster to generate, manage and renew TLS certificates. In this post, I’ll show you how I set it up.

Installing cert-manager in Kubernetes

Create a namespace for cert-manager

kubectl create namespace cert-manager
Enter fullscreen mode Exit fullscreen mode

I like using manifest files to deploy Kubernetes resources. This way, I can version them and keep track of everything applied to my cluster. Download the cert-manager manifest and rename it:

curl -LO https://github.com/cert-manager/cert-manager/releases/download/v1.16.3/cert-manager.yaml

mv cert-manager.yaml cert-manager-1.16.3.yaml
Enter fullscreen mode Exit fullscreen mode

Apply the configuration

kubectl apply -f cert-manager-1.16.3.yaml
Enter fullscreen mode Exit fullscreen mode

Verify installation

kubectl -n cert-manager get all
Enter fullscreen mode Exit fullscreen mode

If you prefer downloading and applying the manifest in a single step, run:

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.16.3/cert-manager.yaml
Enter fullscreen mode Exit fullscreen mode

Cert-manager is now installed. The next step is to connect it to a certificate issuer and start issuing certs. I’ll cover how to do this in the next post.

Top comments (0)

Jetbrains Survey

Calling all developers!

Participate in the Developer Ecosystem Survey 2025 and get the chance to win a MacBook Pro, an iPhone 16, or other exciting prizes. Contribute to our research on the development landscape.

Take the survey