There are two ways to run spark application on Kubernetes.
- Use spark-submit with
k8s://master URL. - Use spark-on-k8s-operator. With the benefit of CRD in spark operator, we could have declarative management of spark pods using configuration files (YAML).
How do I choose between them in production that running 1000+ spark workloads on Kubernetes?
Any pros and cons of using a spark operator?