Server Management

[Kubernetes] How to remove undeletable resource (pod/secret/configmap/namespace)

Issue Kubernetes resource can be undeletable due to random errors. In this case, the secret is undeletable. Even you use –force and –grace-period=0 on delete command, the resource is still there without deleting. Solution Referring to the official doc about force deletion of pod, modifying the metadata.finalizers can help to remove the resource.  Simply execute […]

Kubernetes nameserver error fix

Kubernetes error message: Nameserver limits were exceeded, some nameservers have been omitted This can be easily fixed by editing the nameserver resolve config. The path of the config is  /run/systemd/resolve/resolv.conf.  If you open up the file, you can see the comment # Too many DNS servers configured, the following entries may be ignored., and this […]

How to solve Let’s Encrypt certbot “Problem binding to port 80”?

This happens because port 80 has been reserved for a running process. Which means there could be a web server running behind, i.e. Apache, Nginx, etc. You will need to turn off the webserver or software that using port 80 first and rerun the command to let it spin up a certbot HTTP server for […]

How to solve Let’s Encrypt client lacks sufficient authorization?

Error Message when you are trying to renew an existing cert or generate a new cert: The client lacks sufficient authorization :: Error creating new authz :: Validations for new domains are disabled in the V1 API(https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430) This error is caused by old version of certbot. You can simply upgrade your certbot to resolve this […]