Uh oh!
There was an error while loading. Please reload this page.
fix(e2e): detect gateway workload for Kubernetes health port-forward - #2198
fix(e2e): detect gateway workload for Kubernetes health port-forward#2198elezar wants to merge 1 commit into
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Label |
7de3f4e to
01180a4Compare| image-tag: ${{ github.sha }} | ||
| runner: linux-arm64-cpu8 | ||
| kubernetes-e2e: |
There was a problem hiding this comment.
Should we duplicate these or rather factor out the k8s tests?
The health port-forward was hardcoded to sts/<name>, which breaks when the chart deploys a Deployment (workload.kind=deployment, used by the HA E2E). Add kube_workload_ref() to probe the cluster and return the correct resource reference at runtime. Signed-off-by: Evan Lezar <elezar@nvidia.com>
01180a4 to
56cfba5Compare56cfba5 to
c61b114Compareelezar
commented
Jul 10, 2026
Closing for now. HA behavior is not expected to pass on main until #1868 lands; we can reassess whether this port-forward adjustment is still needed once that work merges. |
Summary
The Kubernetes HA E2E deploys the gateway as a Deployment, but the test harness hardcoded the health port-forward to a StatefulSet. That caused the HA job to fail before the test suite could exercise the deployment.
This PR makes the minimal harness change required to select the deployed workload kind. The existing test:e2e-kubernetes label triggers the optional HA proof-of-life workflow.
HA gateway behavior is not expected to pass on current main. Full HA gateway rebalancing, peer routing, and supervisor relay handoff are being implemented in #1868. Until that PR merges, the HA suite is expected to expose those outstanding failures after this port-forward prerequisite succeeds.
Related Issue
Related to #2153, where the health port-forward failure was observed.
HA implementation: #1868.
Changes
Testing
Proof-of-life run for this minimal commit: https://github.com/NVIDIA/OpenShell/actions/runs/29091285118/job/86358988762
Checklist