Skip to content

Commit 42d4cbd

Browse files
committed
Adapting docs
1 parent 7cd2af8 commit 42d4cbd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

docs/modules/hive/pages/usage-guide/listenerclass.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
Apache Hive offers an API.
55
The operator deploys a xref:listener-operator:listener.adoc[Listener] for the Nodes pod.
66

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+
The listener defaults to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.roleConfig.listenerClass`:
88

99
[source,yaml]
1010
----
1111
spec:
1212
metastore:
13-
config:
14-
listenerClass: external-stable # <1>
13+
roleConfig:
14+
listenerClass: "cluster-internal" <1>
15+
roleGroups:
16+
default:
17+
replicas: 1
1518
----
1619
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).

0 commit comments

Comments
 (0)