13 lines
157 B
Bash
13 lines
157 B
Bash
#!/bin/sh
|
|
|
|
. ./conf
|
|
|
|
exec 2>&1
|
|
|
|
state=0
|
|
|
|
while [ $state == 0 ]
|
|
do
|
|
sleep 10
|
|
$command pod inspect ${name}-pod | grep -q '"State": "Running"' || state=1
|
|
done
|