|
| 1 | +# |
| 2 | +# Licensed to the Apache Software Foundation (ASF) under one |
| 3 | +# or more contributor license agreements. See the NOTICE file |
| 4 | +# distributed with this work for additional information |
| 5 | +# regarding copyright ownership. The ASF licenses this file |
| 6 | +# to you under the Apache License, Version 2.0 (the |
| 7 | +# "License"); you may not use this file except in compliance |
| 8 | +# with the License. You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, |
| 13 | +# software distributed under the License is distributed on an |
| 14 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | +# KIND, either express or implied. See the License for the |
| 16 | +# specific language governing permissions and limitations |
| 17 | +# under the License. |
| 18 | +# |
| 19 | + |
| 20 | +## deployed withh emptyDir |
| 21 | +volumes: |
| 22 | + persistence: false |
| 23 | + |
| 24 | +# disabled AntiAffinity |
| 25 | +affinity: |
| 26 | + anti_affinity: false |
| 27 | + |
| 28 | +# disable auto recovery |
| 29 | +components: |
| 30 | + autorecovery: false |
| 31 | + pulsar_manager: false |
| 32 | + sql_worker: false |
| 33 | + proxy: false |
| 34 | + |
| 35 | +## disable monitoring stack |
| 36 | +monitoring: |
| 37 | + # monitoring - prometheus |
| 38 | + prometheus: false |
| 39 | + # monitoring - grafana |
| 40 | + grafana: false |
| 41 | + # monitoring - node_exporter |
| 42 | + node_exporter: false |
| 43 | + |
| 44 | +images: |
| 45 | + zookeeper: |
| 46 | + repository: streamnative/sn-platform |
| 47 | + tag: 2.9.2.23 |
| 48 | + bookie: |
| 49 | + repository: streamnative/sn-platform |
| 50 | + tag: 2.9.2.23 |
| 51 | + broker: |
| 52 | + repository: streamnative/sn-platform |
| 53 | + tag: 2.9.2.23 |
| 54 | + functions: |
| 55 | + repository: streamnative/sn-platform |
| 56 | + tag: 2.9.2.23 |
| 57 | + |
| 58 | +zookeeper: |
| 59 | + replicaCount: 1 |
| 60 | + resources: |
| 61 | + requests: |
| 62 | + memory: 256Mi |
| 63 | + cpu: 50m |
| 64 | + |
| 65 | +bookkeeper: |
| 66 | + replicaCount: 0 |
| 67 | + metadata: |
| 68 | + image: |
| 69 | + repository: streamnative/sn-platform |
| 70 | + tag: 2.9.2.23 |
| 71 | + resources: |
| 72 | + requests: |
| 73 | + memory: 256Mi |
| 74 | + cpu: 50m |
| 75 | + configData: |
| 76 | + PULSAR_PREFIX_autoRecoveryDaemonEnabled: "false" |
| 77 | + PULSAR_PREFIX_dlog.bkcEnsembleSize: "1" |
| 78 | + PULSAR_PREFIX_dlog.bkcWriteQuorumSize: "1" |
| 79 | + PULSAR_PREFIX_dlog.bkcAckQuorumSize: "1" |
| 80 | + # `BOOKIE_MEM` is used for `bookie shell` |
| 81 | + BOOKIE_MEM: > |
| 82 | + -Xms128m |
| 83 | + -Xmx256m |
| 84 | + -XX:MaxDirectMemorySize=256m |
| 85 | + # we use `bin/pulsar` for starting bookie daemons |
| 86 | + PULSAR_MEM: > |
| 87 | + -Xms128m |
| 88 | + -Xmx256m |
| 89 | + -XX:MaxDirectMemorySize=256m |
| 90 | + PULSAR_GC: > |
| 91 | + -XX:+UseG1GC |
| 92 | + -XX:MaxGCPauseMillis=10 |
| 93 | + -XX:+ParallelRefProcEnabled |
| 94 | + -XX:+UnlockExperimentalVMOptions |
| 95 | + -XX:+AggressiveOpts |
| 96 | + -XX:+DoEscapeAnalysis |
| 97 | + -XX:ParallelGCThreads=4 |
| 98 | + -XX:ConcGCThreads=4 |
| 99 | + -XX:G1NewSizePercent=50 |
| 100 | + -XX:+DisableExplicitGC |
| 101 | + -XX:-ResizePLAB |
| 102 | + -XX:+ExitOnOutOfMemoryError |
| 103 | + -XX:+PerfDisableSharedMem |
| 104 | +
|
| 105 | +pulsar_metadata: |
| 106 | + image: |
| 107 | + repository: streamnative/sn-platform |
| 108 | + tag: 2.9.2.23 |
| 109 | + |
| 110 | +broker: |
| 111 | + replicaCount: 1 |
| 112 | + configData: |
| 113 | + ## Enable `autoSkipNonRecoverableData` since bookkeeper is running |
| 114 | + ## without persistence |
| 115 | + autoSkipNonRecoverableData: "true" |
| 116 | + # storage settings |
| 117 | + managedLedgerDefaultEnsembleSize: "1" |
| 118 | + managedLedgerDefaultWriteQuorum: "1" |
| 119 | + managedLedgerDefaultAckQuorum: "1" |
| 120 | + enablePackagesManagement: "true" |
| 121 | + PULSAR_PREFIX_enablePackagesManagement: "true" |
| 122 | + resources: |
| 123 | + requests: |
| 124 | + memory: 256Mi |
| 125 | + cpu: 50m |
| 126 | + |
| 127 | +functions: |
| 128 | + functionState: true |
| 129 | + useDedicatedRunner: false |
0 commit comments