News for hackers. Stuff that matters.
Re:Acorn: A simple application deployment framework for Kube... by mnahkies on Sunday August 28, 2022 @05:22AM (#32626947)
> How do you determine it's time to scale?

This part is still really hard for a lot of workloads. We have some applications that have a really long startup time (5-10minutes) and also have on the whole predicable traffic patterns. It'd be great to be able to tell k8s to scale up/down based on time of day in addition to the usual metrics without having to resort to a hacky cronjob to adjust the min replicas.

Sure it won't help with a unexpected traffic spike, and it would be better if the applications could come online faster (vendor app out of our control) but most days this feature would allow us to right size the workload way easier.

There's been a few issues like https://github.com/kubernetes/kubernetes/issues/49931 but it doesn't seem to be going anywhere right now

Re:Acorn: A simple application deployment framework for Kube... by hardwaresofton on Sunday August 28, 2022 @06:52AM (#32627336)
Maybe consider using KEDA[0]?

[0]: https://keda.sh/

Re:Acorn: A simple application deployment framework for Kube... by mnahkies on Sunday August 28, 2022 @08:58AM (#32628076)
That actually looks great - I could definitely make use of scaling based on message queue depths as well. Will have to look into it further, thanks!