Skip to content

Commit 6975db3

Browse files
committed
Document discovery CM ZOOKEEPER_CLIENT_PORT (#678)
# Description Closes #677, leftover of #676
1 parent ecc02dd commit 6975db3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/modules/zookeeper/pages/discovery.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The name of the `ConfigMap` created for this discovery profile is `$BASENAME-nod
2626

2727
Each discovery profile contains the following fields:
2828

29-
`ZOOKEEPER`:: A connection string, as accepted by https://zookeeper.apache.org/doc/r3.7.0/apidocs/zookeeper-server/org/apache/zookeeper/ZooKeeper.html#ZooKeeper-java.lang.String-int-org.apache.zookeeper.Watcher-[the official Java client]
30-
`ZOOKEEPER_HOSTS`:: A comma-separated list of `node1:port1,node2:port2,...`
31-
`ZOOKEEPER_CHROOT`:: The name of the root ZNode associated with the discovery profile, should be used if (and only if) connecting using `ZOOKEEPER_HOSTS` (rather than `ZOOKEEPER`)
29+
`ZOOKEEPER`:: A connection string, as accepted by https://zookeeper.apache.org/doc/r3.7.0/apidocs/zookeeper-server/org/apache/zookeeper/ZooKeeper.html#ZooKeeper-java.lang.String-int-org.apache.zookeeper.Watcher-[the official Java client], e.g. `test-zk-server-default-0.test-zk-server-default.kuttl-test-proper-spaniel.svc.cluster.local:2282,test-zk-server-default-1.test-zk-server-default.kuttl-test-proper-spaniel.svc.cluster.local:2282/znode-4e169890-d2eb-4d62-9515-e4786f0ac58e`
30+
`ZOOKEEPER_HOSTS`:: A comma-separated list of `node1:port1,node2:port2,...`, e.g. `test-zk-server-default-0.test-zk-server-default.kuttl-test-proper-spaniel.svc.cluster.local:2282,test-zk-server-default-1.test-zk-server-default.kuttl-test-proper-spaniel.svc.cluster.local:2282`
31+
`ZOOKEEPER_CHROOT`:: The name of the root ZNode associated with the discovery profile, should be used if (and only if) connecting using `ZOOKEEPER_HOSTS` (rather than `ZOOKEEPER`), e.g. `/znode-4e169890-d2eb-4d62-9515-e4786f0ac58e` in case of a ZNode discovery or `/` in case of a ZookeeperServer discovery
32+
`ZOOKEEPER_CLIENT_PORT`:: The port clients should use when connecting, e.g. `2282`

0 commit comments

Comments
 (0)