How do you run Kubernetes certificates automatically with cert-manager?
IntermediateScenarioTLS, HTTP & Application Layer
Answer
Situation read → cert-manager issues and renews certificates as Kubernetes resources.
What I'd do →
- Install it:
helm install cert-manager jetstack/cert-manager --set crds.enabled=true -n cert-manager --create-namespace - Create a
ClusterIssuerfor Let's Encrypt with HTTP-01 or DNS-01 solvers - Annotate the Ingress with
cert-manager.io/cluster-issuer: letsencryptand settls.secretName - Watch
kubectl get certificate,certificaterequest,order,challenge -A - Alert on
certmanager_certificate_expiration_timestamp_seconds
Why → The controller renews at two thirds of the lifetime by default, so expiry becomes a monitoring problem rather than a calendar one.
Interview tip → Say rate limits of Let's Encrypt are why you use staging first.
More on TLS, HTTP & Application Layer
Explain what happens in a TLS 1.3 handshake in a few sentences.BeginnerYour site must redirect all HTTP traffic to HTTPS. How do you do it?BeginnerWhat is the difference between 4xx and 5xx errors, and which ones do you see most in networking problems?BeginnerHTTP/1.1, HTTP/2 and HTTP/3: what changed and why does it matter in operations?BeginnerThe browser console shows a CORS error when your frontend calls your API. What is it and how do you fix it?BeginnerHow do you check which certificate a server presents and when it expires?Beginner