Skip to content

Commit 8167678

Browse files
committed
update scripts
Signed-off-by: cwen0 <[email protected]>
1 parent 357bb57 commit 8167678

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deploy.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ mv deploy/deployment.yamlg deploy/deployment.yaml
1010

1111
kubectl apply -f deploy/
1212

13+
while [[ $(kubectl get pods -l app=web-show -o 'jsonpath={..status.conditions[?(@.type=="Ready")].status}') != "True" ]]; do echo "waiting for pod running" && sleep 1; done
14+
15+
kill $(lsof -t -i:8081)
16+
17+
nohup kubectl port-forward svc/web-show 8081:8081 2>&1 &

0 commit comments

Comments
 (0)