File tree Expand file tree Collapse file tree 2 files changed +14
-17
lines changed
config/charts/inferencepool Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Original file line number Diff line number Diff 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 ("Configuration file loaded" , "config" , 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 )
Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments