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