I've set up Rancher on my hypervisor and have two public IPv4 addresses: one for my home network using DHCP and another assigned to a worker node. I installed MetalLB, cert-manager, and Traefik, intending for the worker node to function as a load balancer with Traefik using an IP from the pool. However, I'm having trouble with Let's Encrypt certificates not being created. I can reach the example pod through the domain, but it keeps indicating that the secret is missing. I'm still pretty new to Kubernetes, so any help would be appreciated!
3 Answers
Sounds like a cool setup! Have you created a "ClusterIssuer" or "Issuer"? You might need DNS validation since you’re on a homelab or private network. Check out the cert-manager documentation on DNS validation.
Since you're working with Infrastructure as Code (IaC), it would make things a lot clearer if you could share a link to your git repo. It'd help us see what you've set up so far and assist you better!
If you're trying to get Let's Encrypt certs, remember to use the Staging server first! If you don't, you risk getting banned from Let's Encrypt due to failed attempts.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads