Skip to content

Tutorial on How to Deploy Apache Pulsar Cluster in Kubernetes. You can find it in our Medium publication: https://medium.com/pharos-production

Notifications You must be signed in to change notification settings

PharosProduction/tutorial-apache-pulsar-cluster-k8s

Repository files navigation

Tutorial on How to Deploy Apache Pulsar Cluster in Kubernetes.

You can find it in our Medium publication

Pharos Production Medium Article.

Also you're warmely welcome to say hello to us Pharos Production - Blockchain and FinTech Software Development

Short step-by-step instruction

ZooKeeper

You must deploy ZooKeeper as the first Pulsar component, as it is a dependency for the others.

$ kubectl apply -f zookeeper_micro.yaml

Initialize cluster metadata

Once ZooKeeper is running, you need to initialize the metadata for the Pulsar cluster in ZooKeeper. This includes system metadata for BookKeeper and Pulsar more broadly. There is a Kubernetes job in the cluster-metadata.yaml file that you only need to run once:

$ kubectl apply -f cluster-metadata.yaml

Deploy the rest of the components

Once cluster metadata has been successfully initialized, you can then deploy the bookies, brokers and the Pulsar dashboard.

$ kubectl apply -f bookie.yaml

$ kubectl apply -f broker.yaml

$ kubectl apply -f pulsar-dashboard.yaml

By Dmytro Nasyrov, Founder, CTO at Pharos Production Inc. And Pharos Production Inc. - Web3, blockchain, fintech, defi software development services

About

Tutorial on How to Deploy Apache Pulsar Cluster in Kubernetes. You can find it in our Medium publication: https://medium.com/pharos-production

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published