Skip to content

Commit 7f78cc8

Browse files
authored
[spark-operator] Set hostNetwork to true to resolve EKS issue (#1068)
1 parent 8f852b8 commit 7f78cc8

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

stable/spark-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: spark-operator
33
description: A Helm chart for Spark on Kubernetes operator.
4-
version: 2.0.11
4+
version: 2.0.12
55
appVersion: 2.0.2
66
keywords:
77
- apache spark

stable/spark-operator/templates/controller/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
{{- end }}
4646
{{- end }}
4747
spec:
48-
hostNetwork: {{ .Values.hostNetwork.enabled }}
48+
hostNetwork: {{ .Values.controller.hostNetwork.enabled }}
4949
containers:
5050
- name: spark-operator-controller
5151
image: {{ include "spark-operator.image" . }}

stable/spark-operator/templates/webhook/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
{{- toYaml . | nindent 8 }}
4040
{{- end }}
4141
spec:
42+
hostNetwork: {{ .Values.webhook.hostNetwork.enabled }}
4243
containers:
4344
- name: spark-operator-webhook
4445
image: {{ include "spark-operator.image" . }}

stable/spark-operator/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ controller:
204204
# -- Specifies the maximum delay duration for the workqueue rate limiter.
205205
duration: 6h
206206

207+
hostNetwork:
208+
enabled: true
209+
207210
webhook:
208211

209212
# -- Specifies whether to enable webhook.
@@ -326,6 +329,9 @@ webhook:
326329
# Require `webhook.replicas` to be greater than 1
327330
minAvailable: 1
328331

332+
hostNetwork:
333+
enabled: true
334+
329335
spark:
330336
# -- List of namespaces where to run spark jobs.
331337
# If empty string is included, all namespaces will be allowed.

0 commit comments

Comments
 (0)