Hi all,
Is there a way to delete pods after running, like the '--rm' arguent in docker?
If start a pod by `kubectl create -f`, I can get the result and the pod and rc is deleted automatically. When use API or `kubectl run`, the pod generates results too, but the pod is not deleted and `kubectl get pods -a` shows that the status is "Error".