Cluster component
cert-manager
Issues TLS certificates for your domains and renews them.
- Memory when idle
- about 60 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 and ARM servers
- Installed by default
- Recommended
Introduction
cert-manager requests TLS certificates from an issuer and renews them before they expire. A cluster needs it for HTTPS on Zeabur OSS public domains.
The component creates two Let’s Encrypt ClusterIssuers, letsencrypt and letsencrypt-staging. Both use HTTP-01 through Traefik and set no email address. Try letsencrypt-staging first: its rate limits are far higher, but browsers do not trust its certificates. The component also turns on Gateway API support, so cert-manager can issue certificates for Gateway listeners, and it deletes a TLS Secret together with its Certificate.
cert-manager reads and writes Secrets in every namespace and updates the CA bundles of webhooks.
Before you install
- Install an ingress component first, such as Traefik Proxy. cert-manager needs its Gateway API CRDs.
- For HTTP-01, the domain’s DNS record must point to the cluster, and port 80 must be reachable from the internet. The issuers also need outbound access to Let’s Encrypt.
- A wildcard domain, such as
*.example.com, needs a DNS-01 issuer. You create it yourself. See the page below.
Use it
In Zeabur OSS, add a public domain on the service’s Networking tab. When the cluster has more than one issuer, the form shows an Issuer field. See Add public domains and HTTPS. The same page shows how to create a DNS-01 issuer for wildcard domains.
Templates that need it
Remove it
Removing cert-manager stops issuing and renewing. Existing Certificates, TLS Secrets and the CRDs stay, but the certificates expire when nobody renews them. The two ClusterIssuers go. The account key Secrets letsencrypt-account-key and letsencrypt-staging-account-key stay in the cert-manager namespace.
Zeabur Builder and External Secrets Operator need it. Zeabur OSS refuses to remove cert-manager while either is installed. See Remove components.
Troubleshooting
A certificate does not become ready
Run kubectl get certificate -A, then kubectl -n <namespace> describe certificate <name>. Then check the challenges with kubectl get challenges -A. For HTTP-01, the domain must reach port 80 of the cluster from the internet. See the cert-manager ACME troubleshooting guide.
A ClusterIssuer is not ready
Run kubectl get clusterissuer and kubectl describe clusterissuer letsencrypt. An issuer is ready when its ACME account is registered. That needs outbound access to Let’s Encrypt.
Technical details
This release
- Provides
- certificates
- Licence
- Apache-2.0
- Homepage
- cert-manager.io
Tested in CI
CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.
| Distribution | Platform | Kubernetes | Passed | Idle memory |
|---|---|---|---|---|
| k3s | linux/amd64 | v1.37.2 | 56 MiB | |
| k3s | linux/arm64 | v1.37.2 | 55 MiB | |
| kind | linux/amd64 | v1.37.0 | 54 MiB | |
| kind | linux/arm64 | v1.37.0 | 54 MiB | |
| kubesolo | linux/amd64 | v1.36.6 | 56 MiB | |
| kubesolo | linux/arm64 | v1.36.6 | 56 MiB | |
| rke2 | linux/amd64 | v1.37.2 | 58 MiB | |
| rke2 | linux/arm64 | v1.37.2 | 56 MiB |
Security
Writes Secrets in all namespaces and manages webhook CA bundles.
What it installs
- cert-manager v1.21.3
- issuers
Needs
- any ingress component