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
448
448
kube-lego
449
449
kube-apiserver
450
450
kube-proxy
451
+ kube-system
451
452
tcpdump
452
453
kubebuilder
453
454
kubectl
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
195
195
kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/vX.Y.Z/cert-manager.yaml
196
196
```
197
197
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
+
198
211
### Namespace Stuck in Terminating State
199
212
200
213
If the namespace has been marked for deletion without deleting the cert-manager
You can’t perform that action at this time.
0 commit comments