kubeflow / spark-operator

Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
Apache License 2.0
2.81k stars 1.38k forks source link

sparkapplication example spark-pi.yaml hostpath not come into effect #1273

Closed yan234280533 closed 1 month ago

yan234280533 commented 3 years ago

We use spark-opterator spark-operator-chart-1.0.5, to create the spark-pi.yam. But we find the hostpath is not come into effect.

the original yaml: apiVersion: "sparkoperator.k8s.io/v1beta2" kind: SparkApplication metadata: name: spark-pi-1 spec: type: Scala mode: cluster image: "ccr.ccs.tencentyun.com/tkeimages/spark:v3.0.0" imagePullPolicy: Always mainClass: org.apache.spark.examples.SparkPi mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.12-3.0.0.jar" sparkVersion: "3.0.0" restartPolicy: type: Never volumes:

We modified the yaml, it come into effect.

the modified yaml: apiVersion: "sparkoperator.k8s.io/v1beta2" kind: SparkApplication metadata: name: spark-pi-1 spec: type: Scala mode: cluster image: "ccr.ccs.tencentyun.com/tkeimages/spark:v3.0.0" imagePullPolicy: Always mainClass: org.apache.spark.examples.SparkPi mainApplicationFile: "local:///opt/spark/examples/jars/spark-examples_2.12-3.0.0.jar" sparkVersion: "3.0.0" restartPolicy: type: Never volumes:

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 month ago

This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.