Closed gtseres closed 5 years ago
Thanks, for your interest in cleanup-operator. I originally put those deploy scripts as an example. Resource usage, at least CPU, could vary based on the hardware, but in my cluster I usually see values like this: memory ~20mb, cpu ~almost zero.
Please feel free to create a PR with resource allocations.
Thanks for the feedback! How much does the utilisation spike when there are many jobs to cleanup?
Unfortunately, I don't have historical data available. I would say, lets set it to something like 50mb of ram and 0.01 cpu, as a default. People can always adjust it if needed
The Kubernetes scheduler will be able to make better decisions on scheduling the
kube-cleanup-operator
if resource requests and limits were defined for CPU and memory. This needs to be done in thedeployment.yaml
. I would be happy to add those if you could provide some intuition around how many resources the operator needs.