Skip to content

Commit 4765d88

Browse files
ci: OPS-1925: Update pod detection for grove (#4089)
Signed-off-by: Dillon Cullinan <dcullinan@nvidia.com> Signed-off-by: Dillon Cullinan <dcullinan92@gmail.com>
1 parent 9fa8125 commit 4765d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/container-validation-backends.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ jobs:
480480
echo ""
481481
482482
kubectl get all -n $KUBE_NS
483-
export FRONTEND_POD=$(kubectl get pods -n ${KUBE_NS} | grep ${GRAPH_NAME}-frontend | sort -k1 | tail -n1 | awk '{print $1}')
483+
export FRONTEND_POD=$(kubectl get pods -n ${KUBE_NS} -l nvidia.com/dynamo-component-type=frontend,nvidia.com/dynamo-graph-deployment-name=${GRAPH_NAME} | tail -n1 | awk '{print $1}')
484484
export CONTAINER_PORT=$(kubectl get pod $FRONTEND_POD -n ${KUBE_NS} -o jsonpath='{.spec.containers[0].ports[?(@.name=="http")].containerPort}')
485485
echo "Container port is ${CONTAINER_PORT}"
486486
kubectl port-forward pod/$FRONTEND_POD 8000:${CONTAINER_PORT} -n ${KUBE_NS} &

0 commit comments

Comments
 (0)