I run a small Kubernetes cluster on the managed Google Kubernetes Engine (GKE) service. I didn't to any further changes, except from deploying three simple deployments. So I assumed that everything, including metrics, works out of the box. Unfortunately, when I filter for metric-server
, I see a lot of errors in stackdriver that do not seem right.
Does somebody know where these are coming from, what impact they have and how to fix it (although I would assume Google needs to fix I, since I pay for GKE:D ).
Thanks in advance.
Edit the metrics-server-deployment
and add:
command:
- /metrics-server
- --kubelet-preferred-address-types=InternalIP
- --kubelet-insecure-tls
Note that this not a very good solution from security standpoint.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.