6 lines
179 B
Text
6 lines
179 B
Text
|
#!/bin/bash
|
||
|
kubectl get pod --output json \
|
||
|
| jq -r '[.items[].metadata.labels]|map(to_entries[]|(.key) + "=" + .value)|unique|.[]' \
|
||
|
| fzf \
|
||
|
| xargs kubectl tail "$@" -l
|