mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-09-19 17:53:21 +00:00
11 lines
345 B
Bash
Executable File
11 lines
345 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for n in $(k3s kubectl get namespace -A | tr -s ' ' | cut -f1 -d' ' | tail -n +2); do
|
|
for p in $(k3s kubectl get pods -n $n | tr -s ' ' | cut -f1 -d' ' | tail -n +2); do
|
|
echo ---------------------------
|
|
echo $n - $p
|
|
echo ---------------------------
|
|
k3s kubectl logs $p -n $n
|
|
done
|
|
done
|
|
|