From 0ae24aaf0366fc50fae125fc9ee42f8240386c6d Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 2 Oct 2023 17:26:34 +0000 Subject: [PATCH] Fixes metrics server not serving stats from worker nodes. --- .../apps/kube-system/metrics-server/app/helmrelease.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml b/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml index f7dc4bf..8b2f500 100644 --- a/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml +++ b/kubernetes/apps/kube-system/metrics-server/app/helmrelease.yaml @@ -18,3 +18,8 @@ spec: values: metrics: enabled: true + args: + - --kubelet-insecure-tls + - --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname + - --kubelet-use-node-status-port + - --metric-resolution=15s