apecloud / kubeblocks-addons

KubeBlocks add-ons.
Apache License 2.0
25 stars 27 forks source link

feat: upgrade pulsar to 0.9 API #702

Open yipeng1030 opened 1 week ago

yipeng1030 commented 1 week ago

what's changed

  1. 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.
  2. replace clusterDefinition and clusterVersion with componentDefinition and componentVerison.
  3. update Vars definition like serviceRef and service.

Test With all kinds of topologies, the cluster can run correctly.

yipeng1030 commented 1 week ago

fix #686 as well.

yipeng1030 commented 7 hours ago

@leon-inf @Y-Rookie May I ask you to review this pr for kb 0.9? After test, basic features are completed.