Zero downtime migration from stable/prometheus-operator chart

35 views
Skip to first unread message

Zhang Zhao

unread,
Nov 20, 2020, 1:38:37 AM11/20/20
to Prometheus Users
Hi,
Anyone has worked on migrating from stable/prometheus-operator chart? I was following the instruction to migrate the chart, however, it was failed. Below was the error msg I received.  And advice? Thanks.

❯ helm upgrade --install dev prometheus-community/kube-prometheus-stack --reuse-values --set nameOverride=prometheus-operator
Error: UPGRADE FAILED: template: kube-prometheus-stack/templates/prometheus-operator/servicemonitor.yaml:12:16: executing "kube-prometheus-stack/templates/prometheus-operator/servicemonitor.yaml" at <.Values.prometheusOperator.tls.enabled>: nil pointer evaluating interface {}.enabled


https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack




❯ helm ls
NAME NAMESPACE REVISION UPDATED                              STATUS  CHART                    APP VERSION
dev default  2        2020-11-19 11:41:39.447606 -0800 PST deployed prometheus-operator-9.3.2 0.38.1





Zhang
Reply all
Reply to author
Forward
0 new messages