Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus-operator test is flaky #1137

Closed
lblackstone opened this issue May 19, 2020 · 0 comments · Fixed by #1172
Closed

Prometheus-operator test is flaky #1137

lblackstone opened this issue May 19, 2020 · 0 comments · Fixed by #1172
Assignees
Milestone

Comments

@lblackstone
Copy link
Member

Problem description

The prometheus-operator test fails sporadically because the ServiceMonitor CR is being created prior to the relevant CRD. It appears that the CRD is created by the operator, so it's likely that we'll need to introduce a custom wait condition to make sure it's ready to go.

Errors & Logs

kubernetes:monitoring.coreos.com:ServiceMonitor my-monitoring creating Retry #0; creation failed: no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
...
error: creation of resource my-monitoring-tqi58mhq failed because the Kubernetes API server reported that the apiVersion for this resource does not exist. Verify that any required CRDs have been created: no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"

Affected product version(s)

Reproducing the issue

Suggestions for a fix

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

Successfully merging a pull request may close this issue.

3 participants