Deploying the Cert Manager and defining Let's Encrypt issuers

To deploy the Cert Manager, we can execute a single Kubernetes definition file that will create a namespace, cert-manager, and then deploy the Cert Manager into the namespace. We will install version 0.8.1, the latest available version when writing this chapter. Run the following command:

kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v0.8.1/cert-manager.yaml

If you get an error message such as unable to recognize "https://github.com/jetstack/cert-manager/releases/download/v0.8.1/cert-manager.yaml": no matches for kind "Issuer" in version "certmanager.k8s.io/v1alpha1", then simply rerun the command again.

Wait for the deployment and its pods to be available: ...

Get Hands-On Microservices with Spring Boot and Spring Cloud now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.