I'm a beginner in Spark on Kubernetes so bear with me and watch out for possible mistakes :)
The key to understand entrypoint.sh and -deploy-mode client is to think about the environment where the script is executed in. That's k8s already where the Docker image is brought to life as a container of a driver pod. There's no point using cluster deploy mode...ever. Makes sense?