1 apiVersion: "sparkoperator.k8s.io/v1beta1"
4 name: {{ .Values.nameOfTheSparkApp }}
5 namespace: {{ .Release.Namespace }}
7 type: {{ .Values.programmingLanguageType }}
8 mode: {{ .Values.modeOfSparkApp | default "cluster" }}
9 image: {{ quote .Values.image }}
10 imagePullPolicy: {{ .Values.imagePullPolicy | default "IfNotPresent" }}
11 mainClass: {{ .Values.mainClassOfTheSparkApp }}
12 mainApplicationFile: {{ .Values.mainApplicationFileOfTheSparkApp }}
14 {{- range .Values.argumentsOfTheSparkProgram }}
17 hadoopConfigMap: {{ .Values.hadoopConfigMap }}
19 type: {{ .Values.restartPolicy | default "Never" }}
21 - name: {{ quote .Values.volumesName | default "test-volume" }}
23 path: {{ quote .Values.hostpath | default "/tmp" }}
24 type: {{ .Values.hostpathType | default "Directory" }}
26 cores: {{ .Values.driverCores | default 0.1 }}
27 coreLimit: {{ quote .Values.driverCoreLimit | default "200m" }}
28 memory: {{ quote .Values.driverMemory | default "1024m" }}
33 - name: {{ quote .Values.driverVolumeMountsName | default "test-volume" }}
34 mountPath: {{ quote .Values.driverVolumeMountPath | default "/tmp" }}
36 cores: {{ .Values.executorCores | default 1 }}
37 instances: {{ .Values.executorInstances | default 1 }}
38 memory: {{ quote .Values.executorMemory | default "512m" }}
42 - name: {{ quote .Values.executorVolumeMountsName | default "test-volume" }}
43 mountPath: {{ quote .Values.executorVolumeMountPath | default "/tmp" }}