pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] sijie commented on issue #2858: What official pulsar helm chart request 15GB memory for bookeeper, zookeeper and broker?
Date Sat, 27 Oct 2018 05:20:14 GMT
sijie commented on issue #2858: What official pulsar helm chart request 15GB memory for bookeeper,zookeeper
and broker?
URL: https://github.com/apache/pulsar/issues/2858#issuecomment-433592171
 
 
   @benjaminhuo 
   
   > Official pulsar helm chart request 15GB memory for bookeeper,zookeeper and broker
   
   the helm chart was contributed from a production deployment in google cloud. so those values
are set to pretty high. I think we can improve it by introducing 3 different groups of settings,
e.g. small, medium and large. so people can choose the proper settings to deploy to their
environment. I am wondering if you are interested in contributing a change to this helm chart
:)
   
   > The manifest(bookie.yaml) deploy bookeeper as daemonset, why not statefulset with
persistent volume claim?
   
   I think helm chart deploys bookkeeper as statefulset. https://github.com/apache/pulsar/blob/master/deployment/kubernetes/helm/pulsar/templates/bookkeeper-statefulset.yaml
   
   You mean the kubernetes manifest here: https://github.com/apache/pulsar/blob/master/deployment/kubernetes/generic/bookie.yaml#L33
   
   The reason why it is using daemonset for generic deployment is following: as a generic
deployment, people might not enable any persistent volumes enabled in their k8s environment.
so for they to tryout pulsar quickly, daemonset is an easy solution to start.
   
   In cloud environment, for example, aws and google cloud, we are recommending people deploying
using statefulset.
   
   https://github.com/apache/pulsar/blob/master/deployment/kubernetes/aws/bookkeeper.yaml#L67
   
   but since k8s is now supporting local volume claim, I think we can change generic deployment
to use statefulset with local volume claim. wondering if you are interested in contributing
to this as well?
   
   Hope this answer your question?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message