add k_force_delete_pod

This commit is contained in:
hophacker 2021-01-12 08:44:27 +08:00
parent ae45511f19
commit 451425d6fe

View File

@ -151,3 +151,6 @@ function kubectl() {
[[ $DEBUG == "true" ]] && echo "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
}