Skip to content

Commit 344cedf

Browse files
committed
Try using pod ip
1 parent d3b507d commit 344cedf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/k8s/src/hooks/run-script-step.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ async function runScriptStepWithGRPC(
6262
}
6363

6464
let ip = getServiceName()
65+
/*
6566
const podName = state.jobPod
6667
core.info('using script executor')
6768
@@ -73,10 +74,11 @@ async function runScriptStepWithGRPC(
7374
throw new Error(`Failed to get pod ${podName} IP`)
7475
}
7576
ip = status.podIP
77+
*/
7678
core.info(`ip is ${ip}`)
7779

7880
// This will throw after retrying with back off for up to 60s.
79-
const backOffmanager = new BackOffManager(60)
81+
const backOffmanager = new BackOffManager(600)
8082
while (true) {
8183
try {
8284
await runScriptByGrpc(

0 commit comments

Comments
 (0)