Kubernetes pod gets recreated when deleted

后端 未结 17 1064
清酒与你
清酒与你 2020-12-12 10:25

I have started pods with command

$ kubectl run busybox --image=busybox --restart=Never --tty -i --generator=run-pod/v1

Something went wrong

17条回答
  •  悲&欢浪女
    2020-12-12 11:01

    If you have a job that continues running, you need to search the job and delete it:

    kubectl get job --all-namespaces | grep

    and

    kubectl delete job

提交回复
热议问题