blob: c8e74a470f78952a0c49477ba561b2f96d9404a1 [file] [log] [blame]
apiVersion: cache.example.com/v1alpha1
kind: Broker
metadata:
name: broker
spec:
# size is the number of the broker cluster, each broker cluster contains a master broker and [slavePerGroup] slave brokers.
size: 2
# nameServers is the [ip:port] list of name service
nameServers: 192.168.130.33:9876;192.168.130.34:9876
# replicationMode is the broker slave sync mode, can be ASYNC or SYNC
replicationMode: ASYNC
# slavePerGroup is the number of each broker cluster
slavePerGroup: 2
# brokerImage is the customized docker image repo of the RocketMQ broker
brokerImage: 2019liurui/rocketmq-broker:4.5.0-alpine
# imagePullPolicy is the image pull policy
imagePullPolicy: Always