-
Notifications
You must be signed in to change notification settings - Fork 2
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
Enable Monitoring and Hubble #56
Conversation
@@ -1,4 +1,4 @@ | |||
{{- if and .Values.operator.enabled .Values.operator.prometheus.enabled .Values.operator.prometheus.serviceMonitor.enabled }} | |||
{{- if and .Values.operator.enabled .Values.operator.prometheus.enabled }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does this change come from? upstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not coming from upstream, but something we might have to push for.
- The service needs to be present to be scraped somehow, should not depend on enabling ServiceMonitors. You can see they handle this case for the agent but not for the operator https://github.com/giantswarm/cilium-app/blob/main/helm/cilium/templates/cilium-agent/service.yaml#L26
- We are adding the ServiceMonitors in a different app so this would never be true.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok 👍
This PR:
Prometheus scraping is not directly enabled in this application as it would make it depend on ServiceMonitor CRD being installed before the CNI.
https://github.com/giantswarm/cilium-servicemonitors-app was created to provide the ServiceMonitors to be scraped by the Observability Bundle's Prometheus agent.
Testing
Description on how cilium can be tested.
Other testing
Description of features to additionally test for cilium installations.
Checklist
values.yaml
andvalues.schema.json
are valid.