Zookeeper

You can run Zookeeper locally using Docker:

You can then interact with the server using .

The easiest way to install Zookeeper on Kubernetes is by using the Helm chart:

For example, if installing using the example above, the Zookeeper host address would be:

The next step is to create a Dapr component for Zookeeper.

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

To apply the Zookeeper state store to Kubernetes, use the kubectl CLI:

Running locally

To run locally, create a dir containing the YAML file and provide the path to the dapr run command with the flag --components-path.