How to schedule auto redeploy for a pod using a cron-job container?

Solution Verified - Updated -

Issue

  • How can I schedule automatic deployments of the POD using cron-job container?
  • Is there a way to schedule the automatic pod restart at a particular time using a cron-job container?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In