Skip to content

Commit 3d671e4

Browse files
committed
describe how to configure zookeeper
1 parent 8f856bf commit 3d671e4

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,35 @@ dcache:
4444
helm install --values custom-config.yaml my-release dcache/dcache
4545
```
4646

47+
## Zookeeper
48+
49+
dCache requires a Zookeeper instance to operate. You can either use an external Zookeeper or deploy an embedded Zookeeper instance together with dCache.
50+
By default, the chart is configured to use an external Zookeeper instance running at `cells-zookeeper:2181`. To deploy an embedded Zookeeper instance, set the following value:
51+
52+
```yaml
53+
zookeeper:
54+
embedded: true
55+
```
56+
57+
or use the command line:
58+
59+
```bash
60+
helm install --set zookeeper.embedded=true my-release dcache/dcache
61+
```
62+
63+
The list of Zookeeper servers can be configured via the `zookeeper.servers` value.
64+
65+
```yaml
66+
zookeeper:
67+
servers: zookeeper1:2181,zookeeper2:2181,zookeeper3:2181
68+
```
69+
70+
or via command line:
71+
72+
```bash
73+
helm install --set zookeeper.servers="zookeeper1:2181,zookeeper2:2181,zookeeper3:2181" my-release dcache/dcache
74+
```
75+
4776
## Enable CTA plugin
4877

4978
```bash

0 commit comments

Comments
 (0)