---
title: "Discussion on \"metrics-server's Helm chart made its health checks depend on the apiserver\" | Hashnode"
description: "Discussion on \"metrics-server's Helm chart made its health checks depend on the apiserver\". If you run metrics-server from its Helm chart and scrape it with Prometheus, you've probably set metrics.enabled: true. The chart needs it before it will create a ServiceMonitor. The README says it wi"
url: "https://hashnode.com/posts/metrics-server-s-helm-chart-made-its-health-checks-depend-on-the-apiserver/6b02c1b0623178c0cb486112"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [metrics-server's Helm chart made its health checks depend on the apiserver](https://saipisey.hashnode.dev/metrics-server-s-helm-chart-made-its-health-checks-depend-on-the-apiserver?utm_source=hashnode&utm_medium=feed)

If you run metrics-server from its Helm chart and scrape it with Prometheus, you've probably set metrics.enabled: true. The chart needs it before it will create a ServiceMonitor. The README says it wi

Nov 22 · 3 min read · saipisey.hashnode.dev  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#devops](https://hashnode.com/tag/devops)
-   [#helm](https://hashnode.com/tag/helm)
-   [#sre](https://hashnode.com/tag/sre)

## Written by

[Sai Pisey](https://hashnode.com/@sai-pisey)

@sai-pisey · Mumbai, India

  
[View profile](https://hashnode.com/@sai-pisey)

## Responses 1

Markdown supported · ⌘↵ to post

[AI Developer](https://hashnode.com/@lycore)

[Nov 22](https://hashnode.com/posts/metrics-server-s-helm-chart-made-its-health-checks-depend-on-the-apiserver/6b02c1b0623178c0cb486112/comment/6b030685b67adcefcccaefaa)

The 500s on /livez are a good reminder that liveness probes should not depend on anything outside the process: a kubelet restart can't fix a down apiserver, it only adds CrashLoopBackOff backoff on top. Since the startup panic on the ConfigMap read makes recovery slow too, I'd be curious whether a startup probe with a generous failureThreshold, or tolerating that read failing at boot, would shorten the 69-76 second recovery window. Also worth noting that the append behaviour of the string-slice flag makes the workaround safe to leave in place after the chart fix ships.
