您需要部署一份工作。部署旨在使容器始终保持运行。检查一下:
https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/