How can i create a cronjob that once complete the pods should terminate after 10 seconds

how can i create a cronjob that once complete the pods should terminate after 10 seconds

Once a cron job completes, it goes into a non-running state, Completed.

When you say “terminate”, what do you mean? Do you want to completed pods to self-delete? You could certainly use a container that uses the Kubernetes API to to do that.

What are you trying to do?