You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/07/28 14:51:27 UTC

[GitHub] [pulsar-helm-chart] ckdarby commented on issue #139: Can I use K8S HPA for proxy, broker and bookie ? Thanks.

ckdarby commented on issue #139:
URL: https://github.com/apache/pulsar-helm-chart/issues/139#issuecomment-888375000


   Yes, here is the documentation on K8s HPA, [here](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/).
   
   You'll need to pick the correct metrics for each one of those components and make sure to limit your downscaling on the bookies because you won't want to downscale faster than replication can happen to keep the cluster healthy.
   
   For example, let's say you have 10 replica bookies and downscale down to 7 without pause or not enough for autorecovery to fix replication. In this scenario, you've potentially lost data for any data that was written across only those bookies (bookie-9, bookie-8, bookies-7) that have been scaled down now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org