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 aad9bc5 commit 73723cfCopy full SHA for 73723cf
check_kubernetes.sh
@@ -164,15 +164,15 @@ mode_nodes() {
164
.status")"
165
if [ "$ready" != True ]; then
166
EXITCODE=2
167
- OUTPUT="ERROR. ${OUTPUT}Node $node not ready\n"
+ OUTPUT="${OUTPUT}Node $node not ready. "
168
fi
169
for condition in OutOfDisk MemoryPressure DiskPressure; do
170
state="$(echo "$data" | jq -r ".items[] | select(.metadata.name==\"$node\") | \
171
.status.conditions[] | select(.type==\"$condition\") | \
172
173
if [ "$state" = True ]; then
174
[ $EXITCODE -lt 1 ] && EXITCODE=1
175
- OUTPUT="WARN. ${OUTPUT} $node $condition\n"
+ OUTPUT="${OUTPUT}$node $condition. "
176
177
done
178
0 commit comments