File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,10 @@ done
203203# snapshotter, resizer, socat and hostpath plugin in the default namespace.
204204expected_running_pods=6
205205cnt=0
206- while [ $( kubectl get pods 2> /dev/null | grep ' ^csi-hostpath.* Running ' | wc -l) -lt $expected_running_pods ] || ! kubectl describe volumesnapshotclasses.snapshot.storage.k8s.io 2>/dev/null >/dev/null ; do
206+ while [ $( kubectl get pods 2> /dev/null | grep ' ^csi-hostpath.* Running ' | wc -l) -lt ${ expected_running_pods} ] ; do
207207 if [ $cnt -gt 30 ]; then
208208 echo " $( kubectl get pods 2> /dev/null | grep ' ^csi-hostpath.* Running ' | wc -l) running pods:"
209209 kubectl describe pods
210- (set -x; kubectl describe volumesnapshotclasses.snapshot.storage.k8s.io) || true
211210
212211 echo >&2 " ERROR: hostpath deployment not ready after over 5min"
213212 exit 1
You can’t perform that action at this time.
0 commit comments