We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23bd036 commit 8416e93Copy full SHA for 8416e93
1 file changed
contrib/health-monitor.sh
@@ -28,10 +28,10 @@ CHECK_PERIOD=${CHECK_PERIOD:-10}
28
SLEEP_SECONDS=${SLEEP_SECONDS:-120}
29
30
while true; do
31
- # Use crictl sandboxes because it requires both containerd and
+ # Use crictl pods because it requires both containerd and
32
# cri-containerd to be working.
33
- if ! timeout ${COMMAND_TIMEOUT} ${CRICTL} sandboxes > /dev/null; then
34
- echo "crictl sandboxes timeout!"
+ if ! timeout ${COMMAND_TIMEOUT} ${CRICTL} pods > /dev/null; then
+ echo "crictl pods timeout!"
35
pkill containerd
36
pkill cri-containerd
37
# Wait for a while, as we don't want to kill it again before it is really up.
0 commit comments