← Back to Pull requests

RHOAIENG-97628: Enable LLMInferenceService support in the RHAII Tilt development environment #10051

Closed
unknown closed this pull request without merging on Oct 01, 2026 20:13 UTC
View on GitHub
unknown unknown commented on Oct 01, 2026 18:02 UTC
Author

<!--- If this is a non-code change, this template is not required; reference any issues or top-level descriptions as needed -->
<!--- All code change PRs should relate to an issue, reference it here; see example below -->
<!--- https://issues.redhat.com/browse/RHOAIENG-123456 -->
https://redhat.atlassian.net/browse/RHOAIENG-97628

Description

Enables KServe LLMInferenceService support in the RHAII Tilt development environment.

The existing setup installed the KServe controller but did not provision all the infrastructure required by LLMInferenceService. The setup now uses KServe v0.19.0's official dependency installer to provide cert-manager, Gateway API and Inference Extension resources, Envoy Gateway, Envoy AI Gateway, and LeaderWorkerSet.

Updated areas:

| Area | Changes |
|------|---------|
| Dependency installation | Downloads and executes the pinned KServe v0.19.0 llmisvc-dependency-install.sh installer |
| Prerequisites | Validates that kubectl, curl, and go are available |
| Installation safety | Downloads the installer before executing it and removes the temporary file afterward |
| cert-manager compatibility | Detects incompatible existing cert-manager installations and provides disposable-cluster recovery instructions |
| Controller readiness | Waits for both kserve-controller-manager and llmisvc-controller-manager |
| CRD readiness | Waits for LLMInferenceService and LLMInferenceServiceConfig CRDs to become established |
| Timeouts | Increases controller readiness timeouts from 120 to 300 seconds |
| Development RBAC | Grants access to llminferenceservices and llminferenceserviceconfigs |
| Developer guidance | Updates Tilt prerequisites and Makefile help text |

The installation remains idempotent and skips reinstalling the KServe controllers when both required controllers are already available.

These changes affect only the local RHAII Tilt development environment and do not change production deployment behavior.

## How Has This Been Tested?

- bash -n distributions/rhaii/developing/scripts/setup-kserve.sh — passes
- make -C distributions/rhaii/developing help — passes
- tilt alpha tiltfile-result -f distributions/rhaii/developing/Tiltfile — evaluates successfully and includes the llmisvc-controller resource
- kustomize build distributions/rhaii/developing/manifests — passes
- pnpm run lint — passes with no new warnings beyond the existing baseline
- pnpm --filter @odh-dashboard/rhaii-distribution type-check — passes
- Manually verified the RHAII Tilt environment and model-serving flow

## Test Impact

No unit or Cypress tests were added. The changes are limited to the local development Bash setup, Tilt configuration, Makefile help text, and Kubernetes RBAC manifests.

The implementation was covered through shell syntax validation, Tiltfile evaluation, manifest rendering, linting, type checking, and manual validation of the Tilt environment.

Request review criteria:


<!--- This PR will be merged by any repository approver when it meets all the points in the checklist -->
<!--- Go over all the following points, and put an x in all the boxes that apply. -->

Self checklist (all need to be checked):

  • The developer has manually tested the changes and verified that the changes work

  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).

  • The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

  • The code follows our [Best Practices](/docs/best-practices.md) (React coding standards, PatternFly usage, performance considerations)
  • If you have UI changes:
    <!--- You can ignore these if you are doing manifest, backend, internal logic, etc changes; aka non-UI / visual changes -->

  • Included any necessary screenshots or gifs if it was a UI change.

  • Included tags to the UX team if it was a UI/UX change.
  • After the PR is posted & before it merges:

  • The developer has tested their solution on a cluster by using the image produced by the PR to main
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    New Features
    Development setup now supports KServe’s LLMInferenceService components, including readiness checks for their controllers and custom resource definitions.
    The development dashboard’s permissions now cover LLMInferenceService resources.
    Setup waits for the KServe gateway to become available and reports its address when installation completes.
    Chores
    KServe setup now installs pinned KServe and cloud-provider-kind dependencies using KServe’s dependency installer. It requires curl and go in addition to kubectl.
    * The setup target description now reflects the components it installs.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 630 lines (+472 / -158) across 7 files Reviewer: paulovmr Review duration: 131m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 630 lines diff across 7 files
    0.55
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.386
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #10051"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 55.4% (MEDIUM) · Higher = larger blast radius
    55.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.9% · Safe to merge
    21.9%