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/19 00:11:42 UTC

[GitHub] [pulsar-helm-chart] Kiddinglife opened a new issue #139: Can I use K8S HPA for proxy, broker and bookie ? Thanks.

Kiddinglife opened a new issue #139:
URL: https://github.com/apache/pulsar-helm-chart/issues/139


   
   


-- 
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



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

Posted by GitBox <gi...@apache.org>.
Kiddinglife closed issue #139:
URL: https://github.com/apache/pulsar-helm-chart/issues/139


   


-- 
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



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

Posted by GitBox <gi...@apache.org>.
Kiddinglife commented on issue #139:
URL: https://github.com/apache/pulsar-helm-chart/issues/139#issuecomment-888733481


   Thx. I am now using stream native operator as auto scaler, which looks more promising and stable.


-- 
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



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

Posted by GitBox <gi...@apache.org>.
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