add topologies
Pulsar supports three different cluster topologies, with two defined in clusterDefinition and one defined manually as creating the cluster:
pulsar-basic-cluster
Configured in the pulsar-cluster/values.yaml file
This cluster topology includes three components: broker, zookeeper and bookkeeper
pulsar-enhanced-cluster
Configured in the pulsar-cluster/values.yaml file
This cluster topology includes five components: broker, zookeeper, bookkeeper, proxy and bkrecovery
Unspecified topology (i.e. topology: nil)
In this case, you can individually configure the proxy.enabled and bkrecovery.enabled options
This cluster approach allows more flexible composition of the required components
With all three topologies, you can configure serviceRef of external zookeeper service.
replace clusterDefinition and clusterVersion with componentDefinition and componentVerison.
update Vars definition like serviceRef and service.
Test
With all kinds of topologies, the cluster can run correctly.
what's changed
Test With all kinds of topologies, the cluster can run correctly.