-
Notifications
You must be signed in to change notification settings - Fork 207
refactor: refactor monitoring session #1906
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -40,7 +40,7 @@ spec: | |||
| logging: | ||||
| enabled: true # log all requests by default | ||||
| --- | ||||
| {{- if or .Values.inferenceExtension.monitoring.gke.enabled (and .Values.inferenceExtension.monitoring.prometheus.enabled .Values.inferenceExtension.monitoring.prometheus.auth.enabled) }} | ||||
| {{- if and .Values.inferenceExtension.monitoring.prometheus.enabled .Values.inferenceExtension.monitoring.prometheus.auth.enabled }} | ||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, the prometheus enabled is by default set to false in the values.yaml: https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/v1.2.0-rc.1/config/charts/inferencepool/values.yaml#L55-L56 This implies that the monitoring stack on GKE won't have all required objects like roles binding by default if Shall we use wdyt? @ahg-g
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Can you elaborate here? the existing
I agree as long as all what this flag enables is indeed prometheus-related.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. EPP uses Prometheus as the metric source behind the metrics endpoint. The PR LGTM then, we just need to make sure we update all references later to include
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One more place to update -
With this change, we switch to use |
||||
| {{- $metricsReadSA := printf "%s-metrics-reader-sa" .Release.Name -}} | ||||
| {{- $metricsReadSecretName := printf "%s-metrics-reader-secret" .Release.Name -}} | ||||
| {{- $metricsReadRoleName := printf "%s-%s-metrics-reader" .Release.Namespace .Release.Name -}} | ||||
|
|
||||
Uh oh!
There was an error while loading. Please reload this page.