Thanks for you response, Klaus!!
I have a couple of follow up questions -
1. So to achieve gang-scheuduling, I will just create a PodGroup (ex. spark-pi-group) with minMember and use the annotation
scheduling.k8s.io/group-name: spark-pi-group to reference the PodGroup?
3. While running the above example given in volcano repository, I get the following error - failed to get PodGroup for pod <default/spark-exec-2>
podgroups.scheduling.volcano.sh “spark-pi-group” not found. How do I resolve this?
4. For Spark, since the driver needs tp be first created which then starts the executors, how is the gang-scheduling feature apply here? Shouldn’t the driver resources demand + executor resources demand be first calculated first and if this total demand is available in cluster, only then spark driver needs to be scheduled when using gang-scheduling feature?
5. On what basis is the minResources set for SparkApplication (as you mentioned previously) and this is a feature of gang-scheduling, right?
Best,
Goutham