I have a Kubernetes Deployment, in whose Pods I need a command run periodically. The Kubernetes CronJob
object creates a new Pod. I would prefer to specify a cronjob, that runs inside the container of the Pod. Is there any way, I can specify this in the deployment yaml?
I have no access to the Dockerfile, but am using pre-built Images.
0 Replies