Skip to content

Commit

Permalink
Add example for Pulsar RabbitMQ (#67)
Browse files Browse the repository at this point in the history
* Add example for Pulsar RabbitMQ

* Update LS image minimum version in comment
  • Loading branch information
cbornet authored Nov 5, 2021
1 parent b78a0e3 commit 76f6ed4
Showing 1 changed file with 137 additions and 0 deletions.
137 changes: 137 additions & 0 deletions examples/dev-values-rabbitmq-tls.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
#
# Copyright 2021 DataStax, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

# Please note that this example works only with Luna Streaming 2.8.0.1.1.6+
enableAntiAffinity: false
enableTls: true
enableTokenAuth: true
restartOnConfigMapChange:
enabled: true
extra:
function: true
burnell: true
burnellLogCollector: true
pulsarHeartbeat: true
pulsarAdminConsole: true

cert-manager:
enabled: true

createCertificates:
selfSigned:
enabled: true

zookeeper:
replicaCount: 1
resources:
requests:
memory: 300Mi
cpu: 0.3
configData:
PULSAR_MEM: "\"-Xms300m -Xmx300m -Djute.maxbuffer=10485760 -XX:+ExitOnOutOfMemoryError\""

bookkeeper:
replicaCount: 1
resources:
requests:
memory: 512Mi
cpu: 0.3
configData:
BOOKIE_MEM: "\"-Xms312m -Xmx312m -XX:MaxDirectMemorySize=200m -XX:+ExitOnOutOfMemoryError\""

broker:
component: broker
replicaCount: 1
ledger:
defaultEnsembleSize: 1
defaultAckQuorum: 1
defaultWriteQuorum: 1
resources:
requests:
memory: 600Mi
cpu: 0.3
configData:
PULSAR_MEM: "\"-Xms400m -Xmx400m -XX:MaxDirectMemorySize=200m -XX:+ExitOnOutOfMemoryError\""

autoRecovery:
enableProvisionContainer: true
resources:
requests:
memory: 300Mi
cpu: 0.3

function:
replicaCount: 1
functionReplicaCount: 1
resources:
requests:
memory: 512Mi
cpu: 0.3
configData:
PULSAR_MEM: "\"-Xms312m -Xmx312m -XX:MaxDirectMemorySize=200m -XX:+ExitOnOutOfMemoryError\""

proxy:
replicaCount: 1
resources:
requests:
memory: 512Mi
cpu: 0.3
wsResources:
requests:
memory: 512Mi
cpu: 0.3
configData:
PULSAR_MEM: "\"-Xms400m -Xmx400m -XX:MaxDirectMemorySize=112m\""
PULSAR_PREFIX_amqpListeners: "amqp://0.0.0.0:5672,amqps://0.0.0.0:5671"
# The rabbitmq extension will use the superuser user for its operations on the broker
PULSAR_PREFIX_amqpBrokerClientAuthenticationParameters: "file:///pulsar/token-superuser/superuser.jwt"
autoPortAssign:
enablePlainTextWithTLS: true
service:
autoPortAssign:
enabled: true
extensions:
enabled: true
extensions: "rabbitmq"
containerPorts:
- name: amqp
containerPort: 5672
- name: amqps
containerPort: 5671
servicePorts:
- name: amqp
port: 5672
protocol: TCP
targetPort: amqp
- name: amqps
port: 5671
protocol: TCP
targetPort: amqps

grafanaDashboards:
enabled: true

pulsarAdminConsole:
replicaCount: 1

kube-prometheus-stack:
enabled: true
prometheusOperator:
enabled: true
grafana:
enabled: true
adminPassword: e9JYtk83*4#PM8

0 comments on commit 76f6ed4

Please sign in to comment.