diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 2df352c..6ff5ad7 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -402,9 +402,9 @@ function klogs { done if [[ "$PROJECT" != "" ]]; then - kubectl --context $KCONTEXT logs -f deployment/$PROJECT --all-containers=true --since=5s --pod-running-timeout=2s $finalopts + kubectl logs -f deployment/$PROJECT --all-containers=true --since=5s --pod-running-timeout=2s $finalopts elif [[ "$INSTANCE" != "" ]]; then - kubectl --context $KCONTEXT logs -f --max-log-requests=10 -l app.kubernetes.io/instance=$INSTANCE + kubectl logs -f --max-log-requests=10 -l app.kubernetes.io/instance=$INSTANCE fi }