You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/epp/runner/runner.go
+36-11Lines changed: 36 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,10 @@ package runner
18
18
19
19
import (
20
20
"context"
21
+
"crypto/tls"
21
22
"flag"
22
23
"fmt"
24
+
"net/http"
23
25
"net/http/pprof"
24
26
"os"
25
27
@@ -136,7 +138,9 @@ var (
136
138
137
139
modelServerMetricsPort=flag.Int("model-server-metrics-port", 0, "Port to scrape metrics from pods. "+
138
140
"Default value will be set to InferencePool.Spec.TargetPortNumber if not set.")
139
-
modelServerMetricsPath=flag.String("model-server-metrics-path", "/metrics", "Path to scrape metrics from pods")
141
+
modelServerMetricsPath=flag.String("model-server-metrics-path", "/metrics", "Path to scrape metrics from pods")
142
+
modelServerMetricsScheme=flag.String("model-server-metrics-scheme", "http", "Scheme to scrape metrics from pods")
143
+
modelServerMetricsHttpsInsecureSkipVerify=flag.Bool("model-server-metrics-https-insecure-skip-verify", false, "When using 'https' scheme for 'model-server-metrics-scheme', configure 'InsecureSkipVerify' (default to false)")
0 commit comments