fix
This commit is contained in:
parent
e85365a374
commit
98125fc388
@ -402,9 +402,9 @@ function klogs {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [[ "$PROJECT" != "" ]]; then
|
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
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user