8 lines
96 B
Bash
Executable File

#!/bin/bash
NS="$1"
DEPL="$2"
CMD="$3"
kubectl -n "$NS" exec "deployment/$DEPL" -ti -- "$CMD"