Cronjob pods being generated with different naming convention
Issue
-
RHOCP 4.9 generates the pods from the CronJobs with a different nomenclature.
- Example:
> Instead of: image-pruner-27620820-d49vt
> It's adding the characters '-1' in between the ID and the random string: image-pruner-27620820--1-d49vt
- Example:
-
After upgrading the cluster from 4.8 to 4.9, some services such as Log Collection, which uses regex to parse the pods name, may misidentify the pods name resulting in loss of log events.
Environment
- Red Hat OpenShift Service on AWS [ROSA]
- 4.9.x
- Red Hat OpenShift Dedicated [OSD]
- 4.9.x
- Azure Red Hat OpenShift [ARO]
- 4.9.x
- Red Hat OpenShift Container Platform [RHOCP]
- 4.9.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.