Skip to content

Commit 53ea8bc

Browse files
committed
update listener class docs
1 parent ae1654a commit 53ea8bc

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
= Service exposition with ListenerClasses
2+
:description: Configure HBase service exposure using ListenerClasses to control internal and external access for all roles.
23

3-
Apache HBase offers an API.
4-
The operator deploys a service called `<name>` (where `<name>` is the name of the HbaseCluster) through which HBase can be reached.
5-
6-
This service can have either the `cluster-internal` or `external-unstable` type.
7-
`external-stable` is not supported for HBase at the moment.
8-
Read more about the types in the xref:concepts:service-exposition.adoc[service exposition] documentation at platform level.
9-
10-
This is how the listener class is configured:
4+
The operator deploys a xref:listener-operator:listener.adoc[Listener] for each Master, Regionserver and Restserver pod.
5+
They all default to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.{masters,regionServers,restServers}.config.listenerClass`:
116

127
[source,yaml]
138
----
149
spec:
15-
clusterConfig:
16-
listenerClass: cluster-internal # <1>
10+
masters:
11+
config:
12+
listenerClass: external-unstable # <1>
13+
regionServers:
14+
config:
15+
listenerClass: external-unstable
16+
restServers:
17+
config:
18+
listenerClass: external-unstable
1719
----
18-
<1> The default `cluster-internal` setting.
20+
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`)

0 commit comments

Comments
 (0)