Skip to content

Commit

Permalink
fix kube-exec function
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Sep 1, 2024
1 parent 3ba2120 commit 066bebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/.kube
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function kube-exec # Kubernetes exec to the POD
{
kubectl get pods --no-headers \
| fzf | awk '{print $1}' \
| xargs -o -I % kubectl exec -it % bash
| xargs -o -I % kubectl exec -it % -- bash
}

function kube-logs # Kubenetes POD logs
Expand Down

0 comments on commit 066bebc

Please sign in to comment.