Skip to content

Commit 0d6527a

Browse files
committed
docs: Update listener usage
1 parent c79ea85 commit 0d6527a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
= Service exposition with ListenerClasses
2+
:description: Configure the ZooKeeper service exposure with listener classes: cluster-internal, external-unstable or external-stable
23

34
Apache ZooKeeper offers an API. The Operator deploys a service called `<name>` (where `<name>` is the name of the ZookeeperCluster) through which ZooKeeper can be reached.
45

5-
The operator deploys a xref:listener-operator:listener.adoc[Listener] for the Server pod.
6+
The operator deploys a xref:listener-operator:listener.adoc[Listener] for the Server pods.
67
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.config.listenerClass`:
78

89
[source,yaml]
910
----
1011
spec:
1112
servers:
12-
config:
13+
roleConfig:
1314
listenerClass: external-unstable # <1>
1415
----
1516
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).

0 commit comments

Comments
 (0)