Skip to content

Step 3.1: Setting up cert manager.

GowthamCh edited this page Apr 29, 2022 · 2 revisions

Prerequisites:

You should have a stable Kubernetes cluster. All the pods should be in running state.

kubectl get all -A

  1. Login to the cluster master node.

Refer: link

  1. Install cert-manager.
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
  1. Check if the installation is successful or not.
curl -sSL -o cmctl.tar.gz https://github.com/cert-manager/cert-manager/releases/download/v1.7.2/cmctl-linux-amd64.tar.gz    
tar xzf cmctl.tar.gz
sudo mv cmctl /usr/local/bin
cmctl check api

You should get a response: The cert-manager API is ready

  1. Create ClusterIssuer. Copy the file letsencrypt-prod-cluster-issuer.yaml from this repo-directory. Change the email address where mentioned in the yaml file.
kubectl apply -f letsencrypt-prod-cluster-issuer.yaml
  1. Check the pods using the below command.
kubectl get all -n cert-manager 
image
Clone this wiki locally