Open zzvara opened 4 years ago
I tried what you have here and the SparkApplication fails to submit because the file isn't present on the spark-operator pod. Did you have to also mount the template file on the spark-operator pod?
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.
Environment:
CoreOS latest stable (2345.3.0), Kubernetes 1.17.0 installed with Kubespray. Admission plugins:
--enable-admission-plugins=NodeRestriction,MutatingAdmissionWebhook
Operator installed:
The following job has a volume attached to it:
Examining the driver Pod Spec after job start (submitting the above YAML), the operator sometimes attaches the volume
executor-template
to the driver Pod, sometimes not. The behavior has some patterns: When the Spark Operator is restarted (its Pod deleted), the Spark Operator will attach the volume to the Pod for about 5-10 times. And then, after consecutive restarts of the SparkApplication (kubectl delete sparkapp
&&kubectl apply -f ...
) will not attach the volume. There are no error logs in the Spark Operator, just that the Spark Driver is missing theexecutor-template.yaml
.