and when I use kubectl tree after a Job was created and has successful completed the ReasonPodCompleted will be coloured red. I assume (without looking in the code) that the Reason is always coloured red if the Pod is not ready? For me red means normally some kind of a failure what about changing the colour of the Reason PodCompleted to green (or something similar)?
kubectl tree cronjob sleepy
NAMESPACE NAME READY REASON AGE
default CronJob/sleepy - 62s
default └─Job/me-sleep - 9s
default └─Pod/me-sleep-qkhxm False PodCompleted 9s
Hi,
when I create a CronJob with the following spec:
and when I use
kubectl tree
after aJob
was created and has successful completed theReason
PodCompleted
will be coloured red. I assume (without looking in the code) that theReason
is always coloured red if the Pod is not ready? For me red means normally some kind of a failure what about changing the colour of the ReasonPodCompleted
to green (or something similar)?