Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/jenkins] UPGRADE FAILED: unable to recognize "": no matches for kind "ServiceMonitor" #23371

Closed
holmesb opened this issue Jul 28, 2020 · 2 comments

Comments

@holmesb
Copy link
Contributor

holmesb commented Jul 28, 2020

master.prometheus.enabled installs custom Prometheus Operator resources. If Prometheus was installed using the non-operator helm chart , the following error occurs:

Error: UPGRADE FAILED: unable to recognize "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"

Need to add a way of simply creating a Prom metrics endpoint. master.prometheus.enabled is too opinionated. Should have been a subkey master.prometheus.operator.enabled.

If master.prometheus.enabled = true, but master.prometheus.operator.enabled = false, just the exporter is added.

@damon09273
Copy link

+1

@scottrigby
Copy link
Member

📢 stable/jenkins has moved to https://github.com/jenkinsci/helm-charts. If still applicable, please reopen the issue there. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants