Using the command kubectl delete, deletes all jobs and pods currently running in the cluster.

kub_kill_task(path)

Arguments

path

Path to task directory (if missing, defaults to the most recently created task)

Value

If everything has gone as expected, TRUE

References

https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#delete