<p>I've deployed Spark Operator to GKE using the <a href="https://github.com/helm/charts/tree/master/incubator/sparkoperator" rel="nofollow noreferrer">Helm Chart</a> to a custom namespace:</p>

<pre><code>helm install --name sparkoperator incubator/sparkoperator --namespace custom-ns --set sparkJobNamespace=custom-ns
</code></pre>

<p>and confirmed the operator running in the cluster with <code>helm status sparkoperator</code>.</p>

<p>However when I'm trying to run the Spark Pi example <code>kubectl apply -f examples/spark-pi.yaml</code> I'm getting the following error:</p>

<pre><code>the path "examples/spark-pi.yaml" does not exist
</code></pre>

<p>There are few things that I probably still don't get: </p>

<ol>
<li>Where is actually <code>examples/spark-pi.yaml</code> located after deploying the operator?</li>
<li>What else should I check and what other steps should I take to make the example work?</li>
</ol>

samba
<p>Please find the <code>spark-pi.yaml</code> file <a href="https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/examples/spark-pi.yaml" rel="nofollow noreferrer">here</a>.</p>

<p>You should copy it to your filesystem, customize it if needed, and provide a valid path to it with <code>kubectl apply -f path/to/spark-pi.yaml</code>.</p>
