Update pulsar image to 2.6.0 (#20)

* Update pulsar image to 2.6.0

* Update the image to the official release image
This commit is contained in:
Sijie Guo 2020-06-19 23:17:41 -07:00 committed by GitHub
parent 552e86c663
commit d5a788e617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,34 +124,34 @@ extra:
images: images:
zookeeper: zookeeper:
repository: apachepulsar/pulsar-all repository: apachepulsar/pulsar-all
tag: 2.5.0 tag: 2.6.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
bookie: bookie:
repository: apachepulsar/pulsar-all repository: apachepulsar/pulsar-all
tag: 2.5.0 tag: 2.6.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
autorecovery: autorecovery:
repository: apachepulsar/pulsar-all repository: apachepulsar/pulsar-all
tag: 2.5.0 tag: 2.6.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
broker: broker:
repository: apachepulsar/pulsar-all repository: apachepulsar/pulsar-all
tag: 2.5.0 tag: 2.6.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
proxy: proxy:
repository: apachepulsar/pulsar-all repository: apachepulsar/pulsar-all
tag: 2.5.0 tag: 2.6.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
functions: functions:
repository: apachepulsar/pulsar-all repository: apachepulsar/pulsar-all
tag: 2.5.0 tag: 2.6.0
prometheus: prometheus:
repository: prom/prometheus repository: prom/prometheus
tag: v2.17.2 tag: v2.17.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
grafana: grafana:
repository: streamnative/apache-pulsar-grafana-dashboard-k8s repository: streamnative/apache-pulsar-grafana-dashboard-k8s
tag: 0.0.6 tag: 0.0.8
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pulsar_manager: pulsar_manager:
repository: apachepulsar/pulsar-manager repository: apachepulsar/pulsar-manager
@ -310,8 +310,10 @@ zookeeper:
## ##
configData: configData:
PULSAR_MEM: > PULSAR_MEM: >
"
-Xms64m -Xmx128m -Xms64m -Xmx128m
PULSAR_GC: >
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote
-Djute.maxbuffer=10485760 -Djute.maxbuffer=10485760
-XX:+ParallelRefProcEnabled -XX:+ParallelRefProcEnabled
@ -320,12 +322,6 @@ zookeeper:
-XX:+DisableExplicitGC -XX:+DisableExplicitGC
-XX:+PerfDisableSharedMem -XX:+PerfDisableSharedMem
-Dzookeeper.forceSync=no -Dzookeeper.forceSync=no
"
PULSAR_GC: >
"
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
"
## Zookeeper service ## Zookeeper service
## templates/zookeeper-service.yaml ## templates/zookeeper-service.yaml
## ##
@ -431,22 +427,12 @@ bookkeeper:
## templates/bookkeeper-configmap.yaml ## templates/bookkeeper-configmap.yaml
## ##
configData: configData:
# `BOOKIE_MEM` is used for `bookie shell`
BOOKIE_MEM: >
"
-Xms128m
-Xmx256m
-XX:MaxDirectMemorySize=256m
"
# we use `bin/pulsar` for starting bookie daemons # we use `bin/pulsar` for starting bookie daemons
PULSAR_MEM: > PULSAR_MEM: >
"
-Xms128m -Xms128m
-Xmx256m -Xmx256m
-XX:MaxDirectMemorySize=256m -XX:MaxDirectMemorySize=256m
"
PULSAR_GC: > PULSAR_GC: >
"
-XX:+UseG1GC -XX:+UseG1GC
-XX:MaxGCPauseMillis=10 -XX:MaxGCPauseMillis=10
-XX:+ParallelRefProcEnabled -XX:+ParallelRefProcEnabled
@ -466,7 +452,6 @@ bookkeeper:
-verbosegc -verbosegc
-Xloggc:/var/log/bookie-gc.log -Xloggc:/var/log/bookie-gc.log
-XX:G1LogLevel=finest -XX:G1LogLevel=finest
"
# configure the memory settings based on jvm memory settings # configure the memory settings based on jvm memory settings
dbStorage_writeCacheMaxSizeMb: "32" dbStorage_writeCacheMaxSizeMb: "32"
dbStorage_readAheadCacheMaxSizeMb: "32" dbStorage_readAheadCacheMaxSizeMb: "32"
@ -577,8 +562,10 @@ broker:
## ##
configData: configData:
PULSAR_MEM: > PULSAR_MEM: >
"
-Xms128m -Xmx256m -XX:MaxDirectMemorySize=256m -Xms128m -Xmx256m -XX:MaxDirectMemorySize=256m
PULSAR_GC: >
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
-Dio.netty.leakDetectionLevel=disabled -Dio.netty.leakDetectionLevel=disabled
-Dio.netty.recycler.linkCapacity=1024 -Dio.netty.recycler.linkCapacity=1024
-XX:+ParallelRefProcEnabled -XX:+ParallelRefProcEnabled
@ -591,12 +578,6 @@ broker:
-XX:-ResizePLAB -XX:-ResizePLAB
-XX:+ExitOnOutOfMemoryError -XX:+ExitOnOutOfMemoryError
-XX:+PerfDisableSharedMem -XX:+PerfDisableSharedMem
"
PULSAR_GC: >
"
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
"
managedLedgerDefaultEnsembleSize: "2" managedLedgerDefaultEnsembleSize: "2"
managedLedgerDefaultWriteQuorum: "2" managedLedgerDefaultWriteQuorum: "2"
managedLedgerDefaultAckQuorum: "2" managedLedgerDefaultAckQuorum: "2"
@ -658,8 +639,10 @@ proxy:
## ##
configData: configData:
PULSAR_MEM: > PULSAR_MEM: >
"
-Xms64m -Xmx64m -XX:MaxDirectMemorySize=64m -Xms64m -Xmx64m -XX:MaxDirectMemorySize=64m
PULSAR_GC: >
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
-Dio.netty.leakDetectionLevel=disabled -Dio.netty.leakDetectionLevel=disabled
-Dio.netty.recycler.linkCapacity=1024 -Dio.netty.recycler.linkCapacity=1024
-XX:+ParallelRefProcEnabled -XX:+ParallelRefProcEnabled
@ -672,12 +655,6 @@ proxy:
-XX:-ResizePLAB -XX:-ResizePLAB
-XX:+ExitOnOutOfMemoryError -XX:+ExitOnOutOfMemoryError
-XX:+PerfDisableSharedMem -XX:+PerfDisableSharedMem
"
PULSAR_GC: >
"
-XX:+UseG1GC
-XX:MaxGCPauseMillis=10
"
## Proxy service ## Proxy service
## templates/proxy-service.yaml ## templates/proxy-service.yaml
## ##
@ -760,11 +737,9 @@ toolset:
## ##
configData: configData:
PULSAR_MEM: > PULSAR_MEM: >
"
-Xms64M -Xms64M
-Xmx128M -Xmx128M
-XX:MaxDirectMemorySize=128M -XX:MaxDirectMemorySize=128M
"
############################################################# #############################################################
### Monitoring Stack : Prometheus / Grafana ### Monitoring Stack : Prometheus / Grafana