kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.17k stars 103 forks source link

Does KUDO support handling scaling up/down pods automatically ? #1771

Open AhmedMItman opened 3 years ago

AhmedMItman commented 3 years ago

I'm asking incase kudo doesn't support it What if Kudo controller can check pods logs/status for doing something. Like: we have service A that at sometime because of heavy load, it produces logs that it needs More Resources ( Memory/CPU). What if Kudo can listen to that kind of situation and immediately scale number of pods
I don't know if kudo can handle

alenkacz commented 3 years ago

@AhmedMItman to me that sounds more like a use case for autoscaler. Perhaps you can check out https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/

AhmedMItman commented 3 years ago

@alenkacz I was asking if there is a way in kudo to for example watch logs in specific POD to trigger the required task depend on the logs