diff --git a/bin/ktail b/bin/ktail new file mode 100755 index 0000000..2969226 --- /dev/null +++ b/bin/ktail @@ -0,0 +1,5 @@ +#!/bin/bash +kubectl get pod --output json \ + | jq -r '[.items[].metadata.labels]|map(to_entries[]|(.key) + "=" + .value)|unique|.[]' \ + | fzf \ + | xargs kubectl tail "$@" -l