Prometheus operator installation failure #1792
Unanswered
hegdesandesh25
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
I have been trying to install the Prometheus operator on a namespace but keep getting the below error, could it be related to CRD's already present in the cluster? i have another namespace which is running prometheus-operator just watching its own namespace which has already created CRD's. Could not find any help in forums, but the link says it might not be a bright idea to delete and install crd's, any pointers appreciated
Outputs:
`helm upgrade --install prometheus bitnami/kube-prometheus -n prome
Error: INSTALLATION FAILED: Prometheus.monitoring.coreos.com "prometheus-kube-prometheus-prometheus" is invalid: spec.initContainers: Invalid value: "null": spec.initContainers in body must be of type array: "null"`
CRD's already present in the cluster
`
NAME
alertmanagerconfigs.monitoring.coreos.com
alertmanagers.monitoring.coreos.com
podmonitors.monitoring.coreos.com
probes.monitoring.coreos.com
prometheuses.monitoring.coreos.com
prometheusrules.monitoring.coreos.com
servicemonitors.monitoring.coreos.com
thanosrulers.monitoring.coreos.com
`
Beta Was this translation helpful? Give feedback.
All reactions