We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c59da1 commit 740d956Copy full SHA for 740d956
kubernetes/samples/scripts/common/utility.sh
@@ -191,7 +191,7 @@ function checkPvState {
191
# $2 - expected state of volume claim
192
function checkPvcState {
193
echo "Checking if the persistent volume claim ${1:?} is ${2:?}"
194
- local end_secs=$(SECONDS + 10)
+ local end_secs=$((SECONDS + 30))
195
local pvc_state=`kubectl get pvc $1 -o jsonpath='{.status.phase}'`
196
while [ ! "$pvc_state" = "$2" ] && [ $SECONDS -le $end_secs ]; do
197
sleep 1
0 commit comments