Hi everyone :slightly_smiling_face: I am trying to...
# ask-the-community
t
Hi everyone 🙂 I am trying to deploy Spark on Kubernetes, using the Dockerfile shown here : https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/kubernetes/k8s_spark/index.html#how-to-build-your-dock[…]or-spark-on-kubernetes I was trying to get rid of the VENV : is it necessary ? When I tried to remove it from the Dockerfile (I took care to make sure everything else worked), I had a bug when running a task.
I found out by myself, you just need to replace the line
Copy code
RUN cp ${VENV}/bin/flytekit_venv /usr/local/bin/
56
with
chmod a+x /usr/local/bin/flytekit_venv
k
venv is not necessar