blob: e116fb75230261bf919da49632bf94446c0749ff (
plain)
1
2
3
4
5
6
7
|
#! /bin/bash
for p in $(oc get pods --all-namespaces --no-headers | awk '{print $2":"$1}'); do
pod=${p%:*}; ns=${p#*:};
echo "=== $ns/$pod ==="
oc -n "$ns" get pod "$pod" -o json | grep gluster
done
|