add k_force_delete_pod
This commit is contained in:
parent
ae45511f19
commit
451425d6fe
@ -151,3 +151,6 @@ function kubectl() {
|
|||||||
[[ $DEBUG == "true" ]] && echo "kubectl --kubeconfig=$HOME/.kube/${KCONTEXT}_config $finalopts"
|
[[ $DEBUG == "true" ]] && echo "kubectl --kubeconfig=$HOME/.kube/${KCONTEXT}_config $finalopts"
|
||||||
command kubectl --kubeconfig=$HOME/.kube/${KCONTEXT}_config $finalopts
|
command kubectl --kubeconfig=$HOME/.kube/${KCONTEXT}_config $finalopts
|
||||||
}
|
}
|
||||||
|
function k_force_delete_pod () {
|
||||||
|
k delete pod $1 --grace-period=0 --force
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user