I have a CoreDNS running in our cluster that uses the Kube DNS service. I want to disable the AutoScaler and the Kube-DNS deployment or scale it to 0.
As soon as I do this, however, it is always automatically scaled up to 2. What can I do?
I have a CoreDNS running in our cluster that uses the Kube DNS service. I want to disable the AutoScaler and the Kube-DNS deployment or scale it to 0.
As soon as I do this, however, it is always automatically scaled up to 2. What can I do?
Copyright © 2021 Jogjafile Inc.
The scenario you are going through is described by the official documentation.
Make sure that you created your custom CoreDNS as described here.
Disable the kube-dns managed by GKE by scaling the kube-dns Deployment and autoscaler to zero using the following command:
Remember to specify the
namespace.