Define daemonset for the scheduler/web when under heavy load? #663
-
Is there a way to basically scale scheduler/web on each node as the node number increases? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@el-aasi I don't understand why you would want to run an instance of the scheduler/webserver for each node in your cluster. In all but the most extreme cases, you can just figure out how many replicas are required at your peak load, and just run that 24/7. If you REALLY need to dynamically scale the Web/Scheduler, you need to look into setting up your own HorizontalPodAutoscaler for those Deployments (which would need to be managed outside the chart). TIP: ensure you are setting resource requests for each Pod (otherwise Kubernetes will assume they are literally using 0 resources when deciding which node to schedule them on) PS: the thing you probably do want to scale dynamically is the number of celery workers, and I am actively working on a task-aware autoscaler which I hope to release in the next version of the chart (#339) |
Beta Was this translation helpful? Give feedback.
@el-aasi I don't understand why you would want to run an instance of the scheduler/webserver for each node in your cluster. In all but the most extreme cases, you can just figure out how many replicas are required at your peak load, and just run that 24/7.
If you REALLY need to dynamically scale the Web/Scheduler, you need to look into setting up your own HorizontalPodAutoscaler for those Deployments (which would need to be managed outside the chart).
TIP: ensure you are setting resource requests for each Pod (otherwise Kubernetes will assume they are literally using 0 resources when deciding which node to schedule them on)
PS: the thing you probably do want to scale dynamically is the …