Skip to content

Commit 3e830ab

Browse files
committed
log the configuration
1 parent 5995a55 commit 3e830ab

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

cmd/epp/runner/runner.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ func (r *Runner) parsePluginsConfiguration(ctx context.Context) error {
348348
return fmt.Errorf("failed to load the configuration - %w", err)
349349
}
350350

351+
setupLog.Info("plugins configuration file content: %v", config)
352+
351353
r.schedulerConfig, err = loader.LoadSchedulerConfig(config.SchedulingProfiles, handle)
352354
if err != nil {
353355
return fmt.Errorf("failed to create Scheduler configuration - %w", err)

config/charts/inferencepool/values.yaml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,18 @@ inferenceExtension:
1010
enablePprof: true # Enable pprof handlers for profiling and debugging
1111
# This is the plugins configuration file.
1212
pluginsConfigFile: "default-plugins.yaml"
13-
# pluginsCustomConfig:
14-
# custom-plugins.yaml: |
15-
# apiVersion: inference.networking.x-k8s.io/v1alpha1
16-
# kind: EndpointPickerConfig
17-
# plugins:
18-
# - type: custom-scorer
19-
# parameters:
20-
# custom-threshold: 64
21-
# - type: max-score-picker
22-
# - type: single-profile-handler
23-
# schedulingProfiles:
24-
# - name: default
25-
# plugins:
26-
# - pluginRef: custom-scorer
27-
# weight: 1
28-
# - pluginRef: max-score-picker
29-
# weight: 1
13+
pluginsCustomConfig:
14+
custom-plugins.yaml: |
15+
apiVersion: inference.networking.x-k8s.io/v1alpha1
16+
kind: EndpointPickerConfig
17+
plugins:
18+
- type: max-score-picker
19+
- type: single-profile-handler
20+
schedulingProfiles:
21+
- name: default
22+
plugins:
23+
- pluginRef: max-score-picker
24+
weight: 1
3025
3126
# Example environment variables:
3227
# env:

0 commit comments

Comments
 (0)