File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
src/gateway_inference_extension Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ RUN git clone https://github.com/kubernetes-sigs/gateway-api-inference-extension
25
25
git apply scheduler.patch && \
26
26
cd ../../../.. && \
27
27
cp /src/roundrobin_picker.go gateway-api-inference-extension/pkg/epp/scheduling/plugins/picker/roundrobin_picker.go && \
28
+ cp /src/prefix_aware_picker.go gateway-api-inference-extension/pkg/epp/scheduling/plugins/picker/prefix_aware_picker.go && \
28
29
mkdir -p /src/pkg/ && \
29
30
cp -r gateway-api-inference-extension/pkg/epp/ /src/pkg/epp && \
30
31
cp gateway-api-inference-extension/go.mod /src && \
Original file line number Diff line number Diff line change @@ -149,4 +149,4 @@ func (t *hashTrie) longestPrefixMatch(
149
149
}
150
150
}
151
151
return res
152
- }
152
+ }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ index b484cde..c7688a8 100644
16
16
scorers: map[plugins.Scorer]int{},
17
17
- picker: &picker.RandomPicker{},
18
18
+ picker: &picker.RoundRobinPicker{},
19
+ + picker: &picker.PrefixAwarePicker{},
19
20
postSchedulePlugins: []plugins.PostSchedule{},
20
21
}
21
22
You can’t perform that action at this time.
0 commit comments