Skip to content

Commit 8bccd1a

Browse files
authored
Update readme.md
1 parent 57690f7 commit 8bccd1a

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

kubernetes-setup-dns-cert-https/readme.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ After a while, run these commands:
9595
## Install and set up Cert-manager for kubernetes
9696

9797
* We're gonna use https://github.com/jetstack/cert-manager
98+
* First, update HELM to v3+
9899
* Go to https://cert-manager.io/docs/installation/kubernetes/#installing-with-helm - follow this guide
99-
* Verify by running `kubectl get pods --namespace XXX`
100+
* At time of writing, you do: `helm install cert-manager jetstack/cert-manager --namespace cert-mgr --version v0.15.1 --set installCRDs=true`
101+
* Verify by running `kubectl get pods --namespace cert-mgr`
100102

101103
#### Get LetsEncrypt SSL Cert and make HTTPS work
102104

@@ -170,3 +172,14 @@ Errors I've got and how I fixed them:
170172
* Or https://www.digwebinterface.com/ for kube.kumobits.com and kumobits.com both should get you some response.
171173
* See more here: https://www.digitalocean.com/docs/networking/dns/how-to/caa/
172174
* And here:https://community.letsencrypt.org/t/caa-setup-for-lets-encrypt/9893
175+
176+
# Upgrading/Deleting Cert-Manager
177+
178+
This can be a headache since all resources and CRD's **must be deleted** before namespaces can be deleted, otherwise it will get stuck.
179+
180+
* First, delete Issuers, ClusterIssuers by kubectl delete on the yamls
181+
* Then use HELM to uninstall
182+
* Continue by calling kubectl delete on some files to make sure that CRD and ApiGroups gets deleted
183+
* Example: kubectl delete -f https://github.com/jetstack/cert-manager/releases/download/v0.8.1/cert-manager.yaml
184+
* Delete namespaces and **make sure they're deleted!**
185+
* Now you can go to the install step and make a fresh install

0 commit comments

Comments
 (0)