An open API service indexing awesome lists of open source software.

https://github.com/pharosproduction/tutorial-apache-pulsar-cluster-k8s

Tutorial on How to Deploy Apache Pulsar Cluster in Kubernetes. You can find it in our Medium publication: https://medium.com/pharos-production
https://github.com/pharosproduction/tutorial-apache-pulsar-cluster-k8s

Last synced: 4 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Tutorial on How to Deploy Apache Pulsar Cluster in Kubernetes.

## You can find it in our Medium publication
[Pharos Production Medium Article](https://medium.com/pharos-production).

Also you're warmely welcome to say hello to us
[Pharos Production - Blockchain and FinTech Software Development](https://pharosproduction.com)

## 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.](https://www.linkedin.com/in/dmytronasyrov/)
And [Pharos Production Inc. - Web3, blockchain, fintech, defi software development services](https://pharosproduction.com)