Skip to content

Commit 97ad505

Browse files
committed
Fix EPP pod label selector to match inferencepool chart
The inferencepool chart labels EPP pods with inferencepool=<epp-service-name>, not app.kubernetes.io/name=inferencepool. Use the same label selector as the e2e scale-from-zero test.
1 parent 6ff71a4 commit 97ad505

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/benchmark/suite_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package benchmark
22

33
import (
44
"context"
5+
"fmt"
56
"os"
67
"os/exec"
78
"testing"
@@ -111,10 +112,10 @@ var _ = BeforeSuite(func() {
111112
By("Verifying EPP pods are running")
112113
Eventually(func(g Gomega) {
113114
pods, err := k8sClient.CoreV1().Pods(benchCfg.LLMDNamespace).List(ctx, metav1.ListOptions{
114-
LabelSelector: "app.kubernetes.io/name=inferencepool",
115+
LabelSelector: fmt.Sprintf("inferencepool=%s", benchCfg.EPPServiceName),
115116
})
116117
g.Expect(err).NotTo(HaveOccurred())
117-
g.Expect(pods.Items).NotTo(BeEmpty(), "No EPP pods found")
118+
g.Expect(pods.Items).NotTo(BeEmpty(), "No EPP pods found with label inferencepool=%s", benchCfg.EPPServiceName)
118119

119120
runningPods := 0
120121
for _, pod := range pods.Items {

0 commit comments

Comments
 (0)