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 {
348
348
return fmt .Errorf ("failed to load the configuration - %w" , err )
349
349
}
350
350
351
+ setupLog .Info ("Configuration file loaded" , "config" , config )
352
+
351
353
r .schedulerConfig , err = loader .LoadSchedulerConfig (config .SchedulingProfiles , handle )
352
354
if err != nil {
353
355
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:
10
10
enablePprof : true # Enable pprof handlers for profiling and debugging
11
11
# This is the plugins configuration file.
12
12
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
30
25
31
26
# Example environment variables:
32
27
# env:
You can’t perform that action at this time.
0 commit comments