Each cluster will automatically deploy Certificate for cert-manager
cert-manager is a native Kubernetes certificate management controller that automatically generates and manages TLS certificates based on Certificate
resources. Many components in Kubernetes clusters use cert-manager to manage their TLS certificates, ensuring secure communication.
Cert-manager manages the lifecycle of certificates through Kubernetes Custom Resource Definitions (CRDs):
When a Certificate
resource is created, cert-manager automatically:
Additionally, cert-manager monitors the validity period of certificates and renews them before they expire to ensure continuous service availability.
Certificates managed by cert-manager have corresponding Secret
resources with type kubernetes.io/tls
and specific labels and annotations.
Secret
resources managed by cert-manager typically contain the following labels and annotations:
Labels:
controller.cert-manager.io/fao: "true"
: Identifies that this Secret is managed by cert-manager and enables filtered Secret caching by the controller.Annotations:
cert-manager.io/certificate-name
: Certificate namecert-manager.io/common-name
: Common name of the certificatecert-manager.io/alt-names
: Alternative names of the certificatecert-manager.io/ip-sans
: IP addresses of the certificatecert-manager.io/issuer-kind
: Type of certificate issuercert-manager.io/issuer-name
: Name of certificate issuercert-manager.io/issuer-group
: API group of the issuercert-manager.io/uri-sans
: URI Subject Alternative Names