Created
August 26, 2021 01:17
-
-
Save rockybean/f7dfa93ca9d99c48567997f5739d4343 to your computer and use it in GitHub Desktop.
demo3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace: pulsar-demo3 | |
| tls: | |
| enabled: true | |
| proxy: | |
| enabled: true | |
| certs: | |
| internal_issuer: | |
| enabled: true | |
| zookeeper: | |
| replicaCount: 3 | |
| resources: | |
| requests: | |
| memory: 500Mi | |
| cpu: 100m | |
| volumes: | |
| useSeparateDiskForTxlog: true | |
| data: | |
| name: data | |
| size: 10Gi | |
| # set your own storage class name or use the default storage class | |
| #storageClassName: local-ssd | |
| dataLog: | |
| name: datalog | |
| size: 10Gi | |
| # set your own storage class name or use the default storage class | |
| #storageClassName: local-hdd | |
| configData: | |
| PULSAR_MEM: > | |
| -Xms300M -Xmx300M | |
| PULSAR_EXTRA_OPTS: > | |
| -Dzookeeper.snapCount=1000000 | |
| PULSAR_PREFIX_maxClientCnxns: "1000" | |
| bookkeeper: | |
| replicaCount: 3 | |
| resources: | |
| limits: | |
| cpu: 100m | |
| memory: 500Mi | |
| requests: | |
| cpu: 100m | |
| memory: 500Mi | |
| volumes: | |
| journal: | |
| name: journal | |
| size: 5Gi | |
| # set your own storage class name or use the default storage class | |
| #storageClassName: local-ssd | |
| ledgers: | |
| name: ledgers | |
| size: 10Gi | |
| # set your own storage class name or use the default storage class | |
| #storageClassName: local-hdd | |
| configData: | |
| PULSAR_GC: > | |
| -XX:+ExitOnOutOfMemoryError | |
| PULSAR_MEM: > | |
| -Xms100M | |
| -Xmx100M | |
| -XX:MaxDirectMemorySize=100M | |
| PULSAR_EXTRA_OPTS: > | |
| -Dpulsar.allocator.exit_on_oom=true | |
| -Dio.netty.recycler.maxCapacity.default=1000 | |
| -Dio.netty.recycler.linkCapacity=1024 | |
| -Dnetworkaddress.cache.ttl=60 | |
| gcWaitTime: "900000" | |
| journalFormatVersionToWrite: "6" | |
| # set fileInfoFormatVersionToWrite to `1` in order to enable journal format version `6` | |
| fileInfoFormatVersionToWrite: "1" | |
| minorCompactionInterval: "3600" | |
| majorCompactionInterval: "86400" | |
| isThrottleByBytes: "true" | |
| compactionRateByBytes: "10485760" | |
| PULSAR_PREFIX_useTransactionalCompaction: "true" | |
| PULSAR_PREFIX_persistBookieStatusEnabled: "false" | |
| broker: | |
| # set your own domain for accesing kop outside from the cluster | |
| #advertisedDomain: "kop.sn.dev" | |
| kop: | |
| enabled: false | |
| # tls: | |
| # enabled: true | |
| # # create a secret with keystore.jks and truststore.jks for kop tls security | |
| # certSecretName: "kop-secret" | |
| # # create a secret for keystore and truststore cert | |
| # passwordSecretRef: | |
| # key: password | |
| # name: kop-keystore-password | |
| #istio: | |
| # gateway: | |
| # selector: | |
| # # set your istio gateway label here | |
| # istio: "ingressgateway" | |
| replicaCount: 1 | |
| resources: | |
| requests: | |
| cpu: 100m | |
| memory: 500Mi | |
| configData: | |
| PULSAR_MEM: > | |
| -Xms100M | |
| -Xmx100M | |
| -XX:MaxDirectMemorySize=100M | |
| PULSAR_GC: > | |
| -XX:+ExitOnOutOfMemoryError | |
| PULSAR_EXTRA_OPTS: > | |
| -Dpulsar.allocator.exit_on_oom=true | |
| -Dio.netty.recycler.maxCapacity.default=1000 | |
| -Dio.netty.recycler.linkCapacity=1024 | |
| -Dnetworkaddress.cache.ttl=60 | |
| managedLedgerDefaultEnsembleSize: "2" | |
| managedLedgerDefaultWriteQuorum: "2" | |
| managedLedgerDefaultAckQuorum: "2" | |
| # For audit log | |
| PULSAR_PREFIX_brokerInterceptors: "audit-log" | |
| PULSAR_PREFIX_brokerInterceptorsDirectory: "./interceptors" | |
| PULSAR_PREFIX_snAuditLogConfig: > | |
| {"defaultTopics":{"allowed":"persistent://sn/system/audit_log_allowed","denied":"persistent://sn/system/audit_log_denied"}} | |
| proxy: | |
| replicaCount: 1 | |
| resources: | |
| requests: | |
| cpu: 100m | |
| memory: 500Mi | |
| configData: | |
| PULSAR_MEM: > | |
| -Xms100M -Xmx100M -XX:MaxDirectMemorySize=100M | |
| PULSAR_GC: > | |
| -XX:+ExitOnOutOfMemoryError | |
| PULSAR_EXTRA_OPTS: > | |
| -Dpulsar.allocator.exit_on_oom=true | |
| -Dio.netty.recycler.maxCapacity.default=1000 | |
| -Dio.netty.recycler.linkCapacity=1024 | |
| -Dnetworkaddress.cache.ttl=60 | |
| # streamnative_console | |
| streamnative_console: | |
| component: streamnative-console | |
| ports: | |
| frontend: 9527 | |
| backend: 7750 | |
| replicaCount: 1 | |
| volumes: | |
| #persistence: true | |
| data: | |
| name: data | |
| size: 5Gi | |
| #storageClassName: local-ssd | |
| configData: | |
| DEFAULT_ORGANIZATION: streamnative | |
| DEFAULT_NAME: streamnative | |
| INSTANCE_NAME: pulsar | |
| # At most case, you don't need to change this | |
| vault: | |
| volume: | |
| persistence: true | |
| name: "raft" | |
| size: 10Gi | |
| local_storage: true | |
| # set your own storage class name or use the default storage class | |
| #storageClassName: "local-hdd" | |
| volumeMounts: | |
| - name: vault-raft | |
| mountPath: /vault/file | |
| # use raft protocol for a vault cluster | |
| config: | |
| storage: | |
| raft: | |
| path: "/vault/file" | |
| listener: | |
| tcp: | |
| tls_disable: true | |
| address: "0.0.0.0:8200" | |
| api_addr: "http://${.Env.POD_NAME}:8200" | |
| cluster_addr: "http://${.Env.POD_NAME}:8201" | |
| ui: true | |
| telemetry: | |
| statsd_address: localhost:9125 | |
| #resources: | |
| # limits: | |
| # memory: "4Gi" | |
| # cpu: "200m" | |
| # requests: | |
| # memory: "4Gi" | |
| # cpu: "200m" | |
| monitoring: | |
| # monitoring - prometheus | |
| prometheus: false | |
| # monitoring - grafana | |
| grafana: false | |
| # monitoring - node_exporter | |
| node_exporter: false | |
| # alerting - alert-manager | |
| alert_manager: false | |
| domain: | |
| enabled: true | |
| suffix: test.pulsar.example.local | |
| ## Ingresses for exposing Pulsar services | |
| ingress: | |
| ## Ingresses for exposing pulsar service publicly | |
| proxy: | |
| enabled: true | |
| type: LoadBalancer | |
| tls: | |
| # If you enable proxy tls, you should enable this too. | |
| enabled: true | |
| annotations: | |
| # If you use aws lb, recommend to add this | |
| service.beta.kubernetes.io/aws-load-balancer-type: nlb | |
| ## Ingresses for exposing monitoring/management services publicly | |
| controller: | |
| enabled: true | |
| annotations: | |
| # If you use aws lb, recommend to add this | |
| service.beta.kubernetes.io/aws-load-balancer-type: nlb | |
| control_center: | |
| enabled: true | |
| tls: | |
| enabled: true | |
| # Set external domain of the load balancer of ingress controller | |
| # external_domain: | |
| # external_domain_scheme: https:// | |
| ## Images | |
| ## | |
| ## Control what images to use for each component | |
| images: | |
| zookeeper: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| bookie: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| presto: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| # NOTE: allow overriding the presto worker image | |
| # presto_worker: | |
| # repository: streamnative/sn-platform | |
| # tag: 2.7.0.4 | |
| # pullPolicy: IfNotPresent | |
| autorecovery: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| broker: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| proxy: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| pulsar_detector: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| functions: | |
| repository: streamnative/sn-platform | |
| tag: "2.8.0.12" | |
| pullPolicy: IfNotPresent | |
| # NOTE: allow overriding the toolset image | |
| # toolset: | |
| # repository: streamnative/sn-platform | |
| # tag: "2.8.0.12" | |
| # pullPolicy: IfNotPresent | |
| prometheus: | |
| repository: prom/prometheus | |
| tag: "v2.17.2" | |
| pullPolicy: IfNotPresent | |
| alert_manager: | |
| repository: prom/alertmanager | |
| tag: "v0.20.0" | |
| pullPolicy: IfNotPresent | |
| grafana: | |
| repository: streamnative/apache-pulsar-grafana-dashboard-k8s | |
| tag: "0.0.16" | |
| pullPolicy: IfNotPresent | |
| streamnative_console: | |
| repository: streamnative/sn-platform-console | |
| tag: "1.0" | |
| pullPolicy: IfNotPresent | |
| hasCommand: false | |
| node_exporter: | |
| repository: prom/node-exporter | |
| tag: "v0.16.0" | |
| pullPolicy: "IfNotPresent" | |
| nginx_ingress_controller: | |
| repository: quay.io/kubernetes-ingress-controller/nginx-ingress-controller | |
| tag: "0.26.2" | |
| pullPolicy: "IfNotPresent" | |
| vault: | |
| repository: vault | |
| tag: "1.7.0" | |
| pullPolicy: "IfNotPresent" | |
| vault_init: | |
| repository: streamnative/pulsar_vault_init | |
| tag: "v1.0.2" | |
| configmapReload: | |
| prometheus: | |
| ## configmap-reload container image | |
| ## | |
| image: | |
| repository: jimmidyson/configmap-reload | |
| tag: v0.3.0 | |
| pullPolicy: IfNotPresent | |
| alertmanager: | |
| ## configmap-reload container image | |
| ## | |
| image: | |
| repository: jimmidyson/configmap-reload | |
| tag: v0.3.0 | |
| pullPolicy: IfNotPresent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment