-
Notifications
You must be signed in to change notification settings - Fork 138
feat: TargetPortNumber int32 to become TargetPorts []Port #1354
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
c46b9e2
fe39c6a
c62929c
b67d1e8
7702fe1
af4da3f
e15893b
03d73c0
8ef9ee7
e32c65b
0ac40da
791498a
a8c8088
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,7 +148,7 @@ var ( | |
"The configuration specified as text, in lieu of a file") | ||
|
||
modelServerMetricsPort = flag.Int("model-server-metrics-port", 0, "Port to scrape metrics from pods. "+ | ||
"Default value will be set to InferencePool.Spec.TargetPortNumber if not set.") | ||
"Default value will be set to InferencePool.Spec.TargetPorts if not set.") | ||
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. that's not so clear what is the expected behavior now. 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. |
||
modelServerMetricsPath = flag.String("model-server-metrics-path", "/metrics", "Path to scrape metrics from pods") | ||
modelServerMetricsScheme = flag.String("model-server-metrics-scheme", "http", "Scheme to scrape metrics from pods") | ||
modelServerMetricsHttpsInsecureSkipVerify = flag.Bool("model-server-metrics-https-insecure-skip-verify", true, "When using 'https' scheme for 'model-server-metrics-scheme', configure 'InsecureSkipVerify' (default to true)") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ metadata: | |
labels: | ||
{{- include "gateway-api-inference-extension.labels" . | nindent 4 }} | ||
spec: | ||
targetPortNumber: {{ .Values.inferencePool.targetPortNumber }} | ||
targetPorts: | ||
- number: {{ .Values.inferencePool.targetPortNumber }} | ||
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. this doesn't look native. 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. I used this here as currently we just allow one targetPortNumber in targetPorts.(minLength = == maxLength ==1) I agree we should change it once we switch to multiple target ports. |
||
selector: | ||
{{- if .Values.inferencePool.modelServers.matchLabels }} | ||
{{- range $key, $value := .Values.inferencePool.modelServers.matchLabels }} | ||
|
Uh oh!
There was an error while loading. Please reload this page.