Skip to content

Commit e0f97f1

Browse files
committed
Deprecate OutOfDisk condition
1 parent dbf11ee commit e0f97f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check_kubernetes.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ usage() {
6161
exit 2
6262
}
6363

64-
VERSION="v1.5.0"
64+
VERSION="v1.5.2"
6565

6666
TIMEOUT=15
6767
unset NAME
@@ -203,7 +203,7 @@ mode_nodes() {
203203
EXITCODE=2
204204
OUTPUT="${OUTPUT}Node $node not ready. "
205205
fi
206-
for condition in OutOfDisk MemoryPressure DiskPressure; do
206+
for condition in MemoryPressure DiskPressure; do
207207
state="$(echo "$data" | jq -r ".items[] | select(.metadata.name==\"$node\") | \
208208
.status.conditions[] | select(.type==\"$condition\") | \
209209
.status")"

0 commit comments

Comments
 (0)