Skip to content

Commit fbe5ac4

Browse files
committed
adapt listener docs
1 parent 1fb1347 commit fbe5ac4

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
= Service exposition with listener classes
22
:description: Configure the Spark connect and history services exposure with listener classes: cluster-internal, external-unstable, or external-stable.
33

4-
== History services
4+
== HSpark History services
55

6-
The operator deploys a xref:listener-operator:listener.adoc[Listener] for each spark history pod.
6+
The operator deploys a xref:listener-operator:listener.adoc[Listener] for each Spark History Server pod.
77
The default is to only being accessible from within the Kubernetes cluster, but this can be changed by setting `.spec.nodes.config.listenerClass`:
88

99
[source,yaml]
@@ -14,13 +14,25 @@ metadata:
1414
name: spark-history
1515
spec:
1616
nodes:
17-
config:
17+
roleConfig:
1818
listenerClass: external-unstable # <1>
1919
----
2020
<1> Specify one of `external-stable`, `external-unstable`, `cluster-internal` (the default setting is `cluster-internal`).
2121

2222
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.
2323

24-
== Connect services
24+
== Spark Connect services
2525

26-
Connect pods can be exposed using listener classes in exactly tha same fashion as history servers.
26+
Connect pods can be exposed using listener classes in exactly tha same fashion as History Servers (with the exception for the role):
27+
28+
[source,yaml]
29+
----
30+
apiVersion: spark.stackable.tech/v1alpha1
31+
kind: SparkConnectServer
32+
metadata:
33+
name: spark-connect
34+
spec:
35+
servers:
36+
roleConfig:
37+
listenerClass: external-unstable # <1>
38+
----

0 commit comments

Comments
 (0)