Skip to content

Commit 3d8d7ca

Browse files
committed
fix docs
1 parent ac79d4e commit 3d8d7ca

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/modules/spark-k8s/pages/usage-guide/listenerclass.adoc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
== HSpark History services
55

66
The operator deploys a xref:listener-operator:listener.adoc[Listener] for each Spark History Server pod.
7-
The default is to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.config.listenerClass`:
7+
The default is 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
----
@@ -19,7 +19,7 @@ spec:
1919
----
2020
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).
2121

22-
For the example above, the listener operator creates a service named `spark-history-node-default` where `spark-history` is the name of the SparkHistoryServer, `node` is the service role (the only service role available for history servers) and `default` is the role group.
22+
For the example above, the listener operator creates a service named `spark-history-node` where `spark-history` is the name of the SparkHistoryServer and `node` is the service role (the only service role available for history servers).
2323

2424
== Spark Connect services
2525

@@ -35,4 +35,7 @@ spec:
3535
servers:
3636
roleConfig:
3737
listenerClass: external-unstable # <1>
38-
----
38+
----
39+
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).
40+
41+
For the example above, the listener operator creates a service named `spark-connect-server` where `spark-connect` is the name of the SparkConnectServer and `server` is the service role.

0 commit comments

Comments
 (0)