For those who is using certbot distributed by OS distros certbot plugins can be installed by a package manager using provider's name, for example:
apt-get install python3-certbot-dns-cloudflare
apt-get install python3-certbot-dns-google
apt-get install python3-certbot-dns-route53
dnf install python3-certbot-dns-...
I found a solution. The problem is actual for Kubernetes version 1.19+ and COS/Ubuntu images based on containerd for GKE nodes. Before the 1.19 version Kubernetes used to use Docker for building images, but now it uses containerd. More details could be found in the official Google Cloud documentation.
You need to create and put an CA certificate to each GKE ...
If your on Standard Mode for your GKE cluster, go into Computer Engine > SSH into every node and put into /etc/docker/certs.d/<ip:port>/ca.cert. Create folder if it does not exists.
This works for me. The method will not work for Autopilot Mode.
My exact steps on each node:
mkdir -p /etc/docker/certs.d/220.127.116.11:5000