You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/running-on-kubernetes.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1954,9 +1954,7 @@ Note that currently only driver/job level PodGroup is supported in Volcano Featu
1954
1954
Volcano defines PodGroup spec using [CRD yaml](https://volcano.sh/en/docs/podgroup/#example).
1955
1955
1956
1956
Similar to [Pod template](#pod-template), Spark users can use Volcano PodGroup Template to define the PodGroup spec configurations.
1957
-
To do so, specify the Spark property `spark.kubernetes.scheduler.volcano.podGroupTemplateFile` to point to files accessible to the `spark-submit` process.
1958
1957
Below is an example of PodGroup template:
1959
-
1960
1958
```yaml
1961
1959
apiVersion: scheduling.volcano.sh/v1beta1
1962
1960
kind: PodGroup
@@ -1975,6 +1973,17 @@ spec:
1975
1973
queue: default
1976
1974
```
1977
1975
1976
+
You have two options to provide the PodGroup template in spark.
1977
+
1. Use `spark.kubernetes.scheduler.volcano.podGroupTemplateFile` to point to files accessible to the `spark-submit` process
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/volcano/src/main/scala/org/apache/spark/deploy/k8s/features/VolcanoFeatureStep.scala
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/volcano/src/test/scala/org/apache/spark/deploy/k8s/features/VolcanoFeatureStepSuite.scala
+34-4Lines changed: 34 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,8 @@ class VolcanoFeatureStepSuite extends SparkFunSuite {
0 commit comments