File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
content/docs/installation Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ kube-ingress-aws-controller
448448kube-lego
449449kube-apiserver
450450kube-proxy
451+ kube-system
451452tcpdump
452453kubebuilder
453454kubectl
Original file line number Diff line number Diff line change @@ -195,6 +195,19 @@ Delete the installation manifests using a link to your currently running version
195195kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/vX.Y.Z/cert-manager.yaml
196196```
197197
198+ ### Deleting orphaned leases
199+
200+ Note: cert-manager uses Kubernetes [ ` Lease ` ] ( https://kubernetes.io/docs/concepts/architecture/leases/ )
201+ objects for leader election, which is enabled by default.
202+ These leases are typically created in the kube-system namespace, but the namespace can be configured.
203+ They are not automatically removed when uninstalling cert-manager. You can safely delete them manually:
204+
205+ ``` bash
206+ kubectl delete lease -n < namespace> cert-manager-cainjector-leader-election cert-manager-controller
207+ ```
208+
209+ Replace ` <namespace> ` with the namespace where leader election leases were created (default is kube-system).
210+
198211### Namespace Stuck in Terminating State
199212
200213If the namespace has been marked for deletion without deleting the cert-manager
You can’t perform that action at this time.
0 commit comments