You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:description: Configure the ZooKeeper service exposure with listener classes: cluster-internal, external-unstable or external-stable
2
3
3
4
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.
4
5
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.
6
7
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.config.listenerClass`:
7
8
8
9
[source,yaml]
9
10
----
10
11
spec:
11
12
servers:
12
-
config:
13
+
roleConfig:
13
14
listenerClass: external-unstable # <1>
14
15
----
15
16
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).
0 commit comments