11 lines
154 B
Bash
Executable File
11 lines
154 B
Bash
Executable File
#!/bin/bash
|
|
|
|
NS="$1"
|
|
DEPL="$2"
|
|
if [ "$3" = "-f" ]; then
|
|
kubectl logs -n "$NS" -f "deployment/$DEPL"
|
|
else
|
|
kubectl logs -n "$NS" "deployment/$DEPL"
|
|
fi
|
|
|