Skip to content

Commit bd1e084

Browse files
committed
docs(listener): Update service exposition docs
1 parent b383d0e commit bd1e084

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

docs/modules/zookeeper/pages/usage_guide/listenerclass.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
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.
44

5-
This service can have either the `cluster-internal` or `external-unstable` type. `external-stable` is not supported for ZooKeeper at the moment.
6-
Read more about the types in the xref:concepts:service-exposition.adoc[service exposition] documentation at platform level.
7-
8-
This is how the listener class is configured:
5+
The operator deploys a xref:listener-operator:listener.adoc[Listener] for the Server pod.
6+
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.config.listenerClass`:
97

108
[source,yaml]
119
----
1210
spec:
13-
clusterConfig:
14-
listenerClass: cluster-internal # <1>
11+
servers:
12+
config:
13+
listenerClass: external-unstable # <1>
1514
----
16-
<1> The default `cluster-internal` setting.
15+
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).

0 commit comments

Comments
 (0)