- #!/bin/bash
- ./stop.sh
- ./start.sh
- kubectl get pod
- while ! kubectl -n default get pod test-taskmanager-1-1
- do
- sleep 1;
- done
- while ! [ $(kubectl -n default get pod test-taskmanager-1-1 -o jsonpath="{.status.phase}") == "Running" ]
- do
- sleep 1;
- done
- kubectl -n default logs --tail 20 -f test-taskmanager-1-1
|