summaryrefslogtreecommitdiffstats
path: root/scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2025-12-09 16:14:26 +0000
committerSuren A. Chilingaryan <csa@suren.me>2025-12-09 16:14:26 +0000
commit77aa9c433f9255d713394e3b25987fa2b4a03a1a (patch)
treeddc5d87bf838bd589f36b43b53955ad8207796a2 /scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh
parentd35216ee0cbf9f1a84a6d4151daf870b1ff00395 (diff)
downloadands-master.tar.gz
ands-master.tar.bz2
ands-master.tar.xz
ands-master.zip
Finalize storage failure on ipekatrin1: scripts & logsHEADmaster
Diffstat (limited to 'scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh')
-rw-r--r--scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh b/scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh
new file mode 100644
index 0000000..e116fb7
--- /dev/null
+++ b/scripts/disaster/gluster_endpoints/find_inline_gluster_in_pods.sh
@@ -0,0 +1,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