AI Roundtable Open Poll · 1 models
helm chart: kube-prometheus prometheus deplyoment, how to change image for config-releader
Answer: Override the image via the `prometheusOperator.prometheusConfigReloader.image` field in your Helm values file. (1 of 1 model agreed)
Model Responses
Claude Opus 4.7
Answer: In the kube-prometheus-stack Helm chart, override the config-reloader image via the `prometheusOperator.prometheusConfigReloader.image` values (registry/repository/tag/sha).
The `config-reloader` (a.k.a. `prometheus-config-reloader`) sidecar that runs next to the Prometheus pod is injected by the Prometheus Operator. Its image is therefore not configured on the Prometheus Deployment/StatefulSet directly, but on the Operator's Helm values, which propagate it to the Operator via the `--prometheus-config-reloader=<image>` CLI flag. In the prometheus-community/kube-prometheus-stack chart, the relevant values block is: ```yaml prometheusOperator: prometheusConfigReloader: image: registry: quay.io repository: prometheus-operator/prometheus-config-reloader tag: v0.75.0 # pin to the version you want sha: "" # optional digest # optional resource tuning resources: requests: cpu: 10m memory: 20Mi ``` Apply it with: ```bash helm upgrade --install kps prometheus-community/kube-prometheus-stack \ -n monitoring --create-namespace \ -f values.yaml ``` After the upgrade, the Operator will be restarted with the new `--prometheus-config-reloader` flag, and the next reconcile of the Prometheus CR will recreate the Prometheus pods with the sidecar using the new image. You can verify with: ```bash kubectl -n monitoring get deploy kps-kube-prometheus-stack-operator -o yaml | grep prometheus-config-reloader kubectl -n monitoring get pod prometheus-kps-kube-prometheus-stack-prometheus-0 \ -o jsonpath='{.spec.containers[?(@.name=="config-reloader")].image}' ``` Notes / gotchas: - Don't confuse it with `prometheusOperator.image` (the Operator itself) or `prometheusOperator.thanosImage` — those are separate. - Older chart versions used `prometheusOperator.prometheusConfigReloaderImage` (single field). Check `helm show values prometheus-community/kube-prometheus-stack` for your installed version. - If you only need to mirror the image to a private registry, set `image.registry` and `image.repository` accordingly; tag stays in sync with what the chart expects. - Editing the Prometheus StatefulSet directly will not work — the Operator will revert it.
Final Summary
The AI Roundtable addressed the specific configuration for the config-reloader sidecar within the kube-prometheus-stack. Claude Opus 4.7 clarified that because the Prometheus Operator injects this container, the image must be defined in the Operator's Helm values to propagate correctly. The model warned that editing the Prometheus StatefulSet directly is futile, as the Operator will simply revert any manual changes during reconciliation.
1 of 1 model agreed