Pods related to CronJobs are not cleaned up in OpenShift Container Platform 4

Solution Verified - Updated -

Issue

  • We do have a cronjob with successfulJobsHistoryLimit=5 and failedJobsHistoryLimit=1 Although we see only 5 existing job, the number of completed pods pile up and are about 4000 now.
  • Pods related to CronJobs are not cleaned up in OpenShift Container Platform 4

Environment

  • Red Hat OpenShift Container Platform (OCP) 4

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