Skip to content

Update evaluate InfPool readiness#2

Merged
hdefazio merged 1 commit intohdefazio:dev/inferencepool_condsfrom
pierDipi:dev/inferencepool_conds
Aug 21, 2025
Merged

Update evaluate InfPool readiness#2
hdefazio merged 1 commit intohdefazio:dev/inferencepool_condsfrom
pierDipi:dev/inferencepool_conds

Conversation

@pierDipi
Copy link
Copy Markdown
Collaborator

@pierDipi pierDipi commented Aug 21, 2025

  • InferencePool is only one (either a ref or a embedded Spec)
  • Updated ensureRouterManagedResourcesAreReady to also make InfPool ready
  • Update logic for IsInferencePoolReady to be consistent with the HTTPRoute logic and evaluate all parents to be Accepted
  • Removed the embedded InfPool test as it's already covered in other schenarios where Scheduler != nil
  • Fixed tests

Feel free to review, ask questions and make changes, once we merge this PR, the original PR will get updated automatically

- InferencePool is only one (either a ref or a embedded Spec)
- Updated ensureRouterManagedResourcesAreReady to also make InfPool ready
- Update logic for IsInferencePool ready to be consistent with the
  HTTPRoute logic and evaluate all parents to be Accepted
- Removed the embedded InfPool test as it's already covered in other
  schenarios where `Scheduler != nil`

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
@pierDipi pierDipi force-pushed the dev/inferencepool_conds branch from 3171f4c to c53433a Compare August 21, 2025 08:06
@hdefazio hdefazio merged commit fc46702 into hdefazio:dev/inferencepool_conds Aug 21, 2025
24 of 26 checks passed
hdefazio added a commit that referenced this pull request Oct 9, 2025
* Add InferencePoolsReady as a subcondition to RouterReady

Signed-off-by: Hannah DeFazio <h2defazio@gmail.com>

* Add test, actually call EvaluateInferencePoolConditions so it does something

Signed-off-by: Hannah DeFazio <h2defazio@gmail.com>

* Update evaluate InfPool readiness (#2)

- InferencePool is only one (either a ref or a embedded Spec)
- Updated ensureRouterManagedResourcesAreReady to also make InfPool ready
- Update logic for IsInferencePool ready to be consistent with the
  HTTPRoute logic and evaluate all parents to be Accepted
- Removed the embedded InfPool test as it's already covered in other
  schenarios where `Scheduler != nil`

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>

---------

Signed-off-by: Hannah DeFazio <h2defazio@gmail.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants