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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content