Slackbot
03/10/2023, 11:30 AMLuiz Augusto
03/10/2023, 12:14 PMhpAutoscaler:
maxReplicas: 10
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1
kind: StatefulSet
name: druid-tiny-cluster-brokers
metrics:
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 50
on this case everytime k8s will spawn new broker pods (up to maxReplicas = 10) when cpu usage of current ones is > 50%. When the load is down, it shuts down no longer needed instances (but never less than minReplicas amount).
And if you using k8s you can even use middlemanager-less cluster, so it spins small pods when you have ingestions and they die as soon as the task is done.Jordi Escrich
03/10/2023, 12:28 PMJordi Escrich
03/10/2023, 12:28 PMAdheip Singh
03/10/2023, 5:29 PMLuiz Augusto
03/13/2023, 1:26 PMGian Merlino
03/13/2023, 10:58 PMGian Merlino
03/13/2023, 10:58 PMJordi Escrich
03/16/2023, 11:39 AMJordi Escrich
03/16/2023, 11:40 AMJordi Escrich
03/16/2023, 11:41 AMJordi Escrich
03/16/2023, 11:42 AMJordi Escrich
03/16/2023, 11:43 AMGian Merlino
03/16/2023, 5:32 PMindex_parallel subtasks; the data on the shuffle service outlives the task themselves (but does not outlive the index_parallel task)Gian Merlino
03/16/2023, 5:33 PMGian Merlino
03/16/2023, 5:33 PMGian Merlino
03/16/2023, 5:35 PMdruid.processing.intermediaryData.storage.type = deepstore to use remote storage (S3, etc) as the shuffle service for index_parallel. That would also make it safe to terminate the MMs once the tasks are goneJordi Escrich
03/16/2023, 11:28 PM