Skip to content

Commit

Permalink
Add infer pool filter todo
Browse files Browse the repository at this point in the history
Signed-off-by: Daneyon Hansen <[email protected]>
  • Loading branch information
danehans committed Feb 22, 2025
1 parent 847f421 commit bd4d69b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ func NewPluginFromCollections(
Kind: wellknown.InferencePoolKind,
}

// TODO [danehans]: Filter InferencePools based one's that are referenced by an HTTPRoute
// with a status.parents[].controllerName that matches our Gateway controllerName.
infPoolUpstream := krt.NewCollection(pools, func(kctx krt.HandlerContext, pool *infextv1a1.InferencePool) *ir.Upstream {
return &ir.Upstream{
ObjectSource: ir.ObjectSource{
Expand Down

0 comments on commit bd4d69b

Please sign in to comment.