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/pd-sidecar/main.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,7 @@ func main() {
58
58
inferencePoolNamespace:=flag.String("inference-pool-namespace", os.Getenv("INFERENCE_POOL_NAMESPACE"), "the Kubernetes namespace to watch for InferencePool resources (defaults to INFERENCE_POOL_NAMESPACE env var)")
59
59
inferencePoolName:=flag.String("inference-pool-name", os.Getenv("INFERENCE_POOL_NAME"), "the specific InferencePool name to watch (defaults to INFERENCE_POOL_NAME env var)")
60
60
enablePrefillerSampling:=flag.Bool("enable-prefiller-sampling", func() bool { b, _:=strconv.ParseBool(os.Getenv("ENABLE_PREFILLER_SAMPLING")); returnb }(), "if true, the target prefill instance will be selected randomly from among the provided prefill host values")
61
+
poolGroup:=flag.String("pool-group", proxy.DefaultPoolGroup, "group of the InferencePool this Endpoint Picker is associated with.")
61
62
62
63
opts:= zap.Options{}
63
64
opts.BindFlags(flag.CommandLine) // optional to allow zap logging control via CLI
returnfmt.Errorf("failed to sync InferencePool cache within timeout (check RBAC permissions for inferencepools.%s and that pool '%s' exists)", inferencePoolGroup, av.poolName)
168
+
returnfmt.Errorf("failed to sync InferencePool cache within timeout (check RBAC permissions for inferencepools.%s and that pool '%s' exists)", av.gvr.String(), av.poolName)
146
169
}
147
170
148
171
av.logger.Info("allowlist validator started successfully")
0 commit comments