DEV Community

subnet savy
subnet savy

Posted on

Secure Kubernetes External Access with ExternalDNS and cert-manager

Running Kubernetes at home or in the cloud? Exposing apps externally can be tricky—but ExternalDNS + cert-manager makes it simple.

✅ What they do:

ExternalDNS automatically manages DNS records for your services.

cert-manager provisions SSL certificates with Let’s Encrypt.

Here’s how easy it is:

yaml
Copy
Edit
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: my-app-cert
spec:
dnsNames:
- "app.mydomain.com"
secretName: my-app-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
🎉 Boom—your app is secured with HTTPS and has an updated DNS record.

👉 Full guide here: https://subnetsavy.com/wp-content/uploads/articles/externaldns-certmanager-setup.html

Top comments (0)