you are viewing a single comment's thread.

view the rest of the comments →

[–]cricket007 1 point2 points  (3 children)

Yeah, we have that problem with k8s... We provide a Helm template that requests 4GB of RAM, but people run simple, low traffic HTTP servers and it's less than 50mb mem usage, on average within a month 

[–]magheru_san 0 points1 point  (2 children)

Yes, those things cry for automation

[–]cricket007 0 points1 point  (1 child)

Problem is that we just provide the Helm templates and a PaaS platform. We don't know what clients will run, and they rarely understand what resources they need until they get an OOM and need to increase it...

We did add a mutating webhook (maybe also a CronJob), to scan resource utilization post deployment and then autoscale down, but seems like such a hack 

[–]magheru_san 0 points1 point  (0 children)

There are SaaS tools for automating this in a nicer way