Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix: use correct image tag in LLMISvc E2E workflow#4948

Merged
Jooho merged 2 commits intokserve:masterfrom
pierDipi:fix-e2e-image-tag
Jan 12, 2026
Merged

Fix: use correct image tag in LLMISvc E2E workflow#4948
Jooho merged 2 commits intokserve:masterfrom
pierDipi:fix-e2e-image-tag

Conversation

@pierDipi
Copy link
Member

The workflow was patching the deployment to use an image tag that wasn't loaded into minikube. The image is loaded as 'local-test' but the patch was using the github.sha tag.

Also change from kubectl wait --for=condition=available to kubectl rollout status to ensure the new pod is ready, not just the old one during rolling update.

Re-running failed tests

  • /rerun-all - rerun all failed workflows.
  • /rerun-workflow <workflow name> - rerun a specific failed workflow. Only one workflow name can be specified. Multiple /rerun-workflow commands are allowed per comment.

The workflow was patching the deployment to use an image tag that
wasn't loaded into minikube. The image is loaded as 'local-test'
but the patch was using the github.sha tag.

Also change from `kubectl wait --for=condition=available` to
`kubectl rollout status` to ensure the new pod is ready, not just
the old one during rolling update.

Signed-off-by: Pierangelo Di Pilato <[email protected]>
@pierDipi pierDipi force-pushed the fix-e2e-image-tag branch 3 times, most recently from ba0051a to f860bad Compare January 12, 2026 15:53
# Use 'local-test' tag since that's what was loaded into minikube
kubectl patch deployment kserve-llmisvc-controller-manager -n kserve \
-p '{"spec":{"template":{"spec":{"containers":[{"name":"manager","image":"'${LLMISVC_CONTROLLER_IMG_TAG}'","imagePullPolicy":"Never"}]}}}}'
-p '{"spec":{"template":{"spec":{"containers":[{"name":"manager","image":"kserve/llmisvc-controller:local-test","imagePullPolicy":"Never"}]}}}}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it fine to hard-code it?
in this case, we don't need this env LLMISVC_CONTROLLER_IMG_TAG anymore, right?

Copy link
Member Author

@pierDipi pierDipi Jan 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it's hardcoded in a previous step

          echo "🐳 Tagging and loading LLMISvc controller image into minikube..."
          # Load the image from the tar file
          docker load -i ./tmp/llmisvc-controller-${{ github.sha }}
          # Tag the loaded image as kserve/llmisvc-controller:local-test
          IMAGE_ID=$(docker images --format "{{.Repository}}:{{.Tag}} {{.ID}}" | grep llmisvc-controller | awk '{print $2}' | head -n1)
          docker tag $IMAGE_ID kserve/llmisvc-controller:local-test
          # Load the tagged image into minikube
          minikube image load kserve/llmisvc-controller:local-test

@pierDipi
Copy link
Member Author

/rerun-workflow "Python package"

@pierDipi
Copy link
Member Author

/rerun-workflow "Python package"

Copy link
Contributor

@spolti spolti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be updated to use the env in another PR.
Approving for now.

/lgtm

Copy link
Contributor

@Jooho Jooho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@Jooho Jooho enabled auto-merge (squash) January 12, 2026 17:08
@Jooho Jooho merged commit 6f95f1a into kserve:master Jan 12, 2026
1 check passed
agoston pushed a commit to agoston/kserve that referenced this pull request Jan 15, 2026
Signed-off-by: Pierangelo Di Pilato <[email protected]>
Signed-off-by: Horvath Agoston <[email protected]>
spolti added a commit to spolti/kserve that referenced this pull request Jan 29, 2026
Commits in this batch:
35755fc ci: PR style check (kserve#4499)
30d1b75 AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb (kserve#4939)
53004e7 (jooho/upstream_master) feat: add automatic modelFormat annotation for InferenceServices (kserve#4953)
7d10530 Bump Gateway API Inference Extension (GIE) to v1.2.0 (kserve#4886)
b43d60c Separate LocalModelCache webhook from KServe controller. (kserve#4941)
58fa35d Fix CVE-2025-68156: Update expr-lang/expr to v1.17.7 (kserve#4934)
7a7c5aa refactor: deduplicate test configs with helper functions (kserve#4952)
6f95f1a Fix: use correct image tag in LLMISvc E2E workflow (kserve#4948)
f1f7bed Fix: LLMInferenceService reconciliation for Gateway refs in baseRefs (kserve#4944)
a70985a CVE-2025-66418 - Unbounded number of links in the decompression chain (kserve#4928)
11aad94 chore: bump github.com/kedacore/keda/v2 from 2.16.1 to 2.17.3 (kserve#4927)
b253a50 Fix: opentelemetry helm installation script (kserve#4932)
4041412 refactor: replace bash script with Python and improve generate-version (kserve#4935)
2e987ef Add precommit check to sync golangci Go version with go.mod (kserve#4930)
f44cb66 fix: make deploy-dev for development env (kserve#4881)
f15f6ac Address several CVEs (kserve#4912)
54faf3b ci: add retry request for e2e tests to reduce transient failures (kserve#4795)
6b7bc43 chore: Add .gitattributes to mark vendored and generated code (kserve#4904)
29a6a2b ci: split KServe and Storage  publish workflow into separate jobs (kserve#4801)
299706d Improved CA Bundle Management For LLM Inference Services (kserve#4803)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants