Skip to content

ci(test): [cherry-pick 1.6.2] keep known kr8s Kubernetes 1.36 warnings nonfatal (#17285) - #18088

Merged
dagil-nvidia merged 1 commit into
release/1.6.2from
dtokarev/cherry-pick-kr8s-k8s136-warning-1.6.2
Nov 4, 2026
Merged

dagil-nvidia merged 1 commit into
release/1.6.2from
dtokarev/cherry-pick-kr8s-k8s136-warning-1.6.2

Conversation

@dmitry-tokarev-nv

Copy link
Copy Markdown
Contributor

Refs DGH-2233

Summary

Cherry-pick of #17285 onto release/1.6.2. The deploy tests on this branch run against a Kubernetes v1.36.4 cluster. The pinned kr8s==0.20.13 warns that this version is not supported, and the "error" entry in this branch's filterwarnings turns that warning into a test failure. This adds the same narrow default filter that main has. It matches Kubernetes 1.36.x, the exact kr8s 0.20.13 message, and the kr8s._api module.

Validation

  • git cherry-pick -x -s 2b16a69c72 applied cleanly. release/1.6.2 pins kr8s==0.20.13, the version that the filter names.
  • On chore(container): [release/1.6.2] move the SGLang image to a uv-managed CPython 3.12.16 #18081, sglang Deploy Test / agg and agg_router reached "All resources are ready". Then they failed with UserWarning: Kubernetes version v1.36.4 is not supported. Supported versions for kr8s 0.20.13 are 1.28 to 1.34.
  • A stub kr8s._api module raised the exact warning under this branch's pytest configuration:
    • old configuration, v1.36.4: fails
    • new configuration, v1.36.4: passes, and pytest still reports the warning
    • new configuration, v1.37.0: fails, so the filter stays narrow
  • pre-commit run --all-files: 37 hooks passed.

🤖 Generated with Claude Code

Signed-off-by: xianlubird <xianlubird@gmail.com>
(cherry picked from commit 2b16a69)
Signed-off-by: Dmitry Tokarev <dtokarev@nvidia.com>
@dmitry-tokarev-nv
dmitry-tokarev-nv requested a review from a team as a code owner November 4, 2026 17:57
@github-actions github-actions Bot added the ci Issues/PRs that reference CI build/test label Nov 4, 2026
@dagil-nvidia
dagil-nvidia merged commit 4997c72 into release/1.6.2 Nov 4, 2026
183 of 187 checks passed
@dagil-nvidia
dagil-nvidia deleted the dtokarev/cherry-pick-kr8s-k8s136-warning-1.6.2 branch November 4, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Issues/PRs that reference CI build/test size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants