Skip to content

Commit cbda362

Browse files
authored
Print the last 10 events for services and pods in the istio namesapce (#2080)
1 parent 023ade8 commit cbda362

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

manager/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,12 @@ function validate_cortex() {
422422
echo "operator curl response:"
423423
curl --max-time 3 "${operator_endpoint}/verifycortex"
424424
fi
425+
426+
echo "additional networking events:"
427+
kubectl get events -n=istio-system --field-selector involvedObject.kind=Service --sort-by=".metadata.managedFields[0].time" | tail -10
428+
kubectl get events -n=istio-system --field-selector involvedObject.kind=Pod --sort-by=".metadata.managedFields[0].time" | tail -10
425429
echo
430+
426431
exit 1
427432
fi
428433

0 commit comments

Comments
 (0)