weaveworks / eks-quickstart-app-dev

Example flux manifests for eksctl gitops
Other
56 stars 43 forks source link

Prometheus does not start #35

Closed philipp-paland closed 4 years ago

philipp-paland commented 4 years ago

Logs of helm-operator:

helm-operator ts=2020-05-09T11:32:50.150863936Z caller=release.go:75 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 info="starting sync run"
 helm-operator ts=2020-05-09T11:32:50.16400132Z caller=release.go:268 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 info="running installation"
  phase=install
 helm-operator ts=2020-05-09T11:32:50.17638235Z caller=release.go:266 component=release release=podinfo targetNamespace=demo resource=demo:helmrelease/podinfo helmVersion=v3 info="no changes" phase=dry-run-compare
 helm-operator ts=2020-05-09T11:32:50.496035538Z caller=logwriter.go:28 info="2020/05/09 11:32:50 info: skipping unknown hook: \"crd-install\""
 helm-operator ts=2020-05-09T11:32:50.534884349Z caller=logwriter.go:28 info="2020/05/09 11:32:50 info: skipping unknown hook: \"crd-install\""
 helm-operator ts=2020-05-09T11:32:50.540331723Z caller=logwriter.go:28 info="2020/05/09 11:32:50 info: skipping unknown hook: \"crd-install\""
 helm-operator ts=2020-05-09T11:32:50.544750917Z caller=logwriter.go:28 info="2020/05/09 11:32:50 info: skipping unknown hook: \"crd-install\""
 helm-operator ts=2020-05-09T11:32:50.948416925Z caller=release.go:271 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 error="installation failed
 : unable to build kubernetes objects from release manifest: [unable to recognize \"\": no matches for kind \"Alertmanager\" in version \"monitoring.coreos.com/v1\", unable to recognize \"\": no matches for kind \"Prometheus\" in version
  \"monitoring.coreos.com/v1\", unable to recognize \"\": no matches for kind \"PrometheusRule\" in version \"monitoring.coreos.com/v1\", unable to recognize \"\": no matches for kind \"ServiceMonitor\" in version \"monitoring.coreos.com
 /v1\"]" phase=install
 helm-operator ts=2020-05-09T11:32:50.9575576Z caller=release.go:323 component=release release=prometheus-operator targetNamespace=monitoring resource=monitoring:helmrelease/prometheus-operator helmVersion=v3 warning="uninstall failed: u
 ninstall: Release not loaded: prometheus-operator: release: not found" phase=uninstall
bolek commented 4 years ago

I bumped the prometheus-operator version to 8.13.8 and it worked

https://github.com/weaveworks/eks-quickstart-app-dev/blob/master/monitoring/prometheus-operator.yaml#L12