Open remacr opened 5 years ago
Hi @raul-madrigal,
That's the default successfulJobsHistoryLimit: 3
set by Kubernetes for CronJobs but it's true that it's not configurable at this moment.
Hi @andresmgot,
Can you guide me somehow? , I would like to help to get this done because I currently have this issue happening and I'm fixing it running a separate script to clean up the completed pods.
Just to confirm, you are seeing 3 completed jobs per scheduled function, right?
Unfortunately, this is not something that can be implemented in the client side (so I am not sure is worth working on). If you want to implement it, you need to change it in the CronJobTrigger controller:
Release a new version of the trigger controller and then change the client here.
Yes, I'm seeing 3 jobs scheduled per function marked as completed.
Thanks, I'll take a look.
BUG REPORT
What happened: The pods created with the scheduled functions are not being removed after completing them. We can see the pods being piled every time it hits the schedule.
What you expected to happen: The pods to be removed or to reuse the same pod and just running again.
Environment:
Kubernetes version:
Kubeless version: 1.0.4
Cloud provider or physical cluster: physical cluster