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: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/BasicDriverFeatureStep.scala
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ private[spark] class BasicDriverFeatureStep(
105
105
.withNewFieldRef("v1", "status.podIP")
106
106
.build())
107
107
.endEnv()
108
-
.withNewResources()
108
+
.editOrNewResources()
109
109
.addToRequests("cpu", driverCpuQuantity)
110
110
.addToLimits(maybeCpuLimitQuantity.toMap.asJava)
111
111
.addToRequests("memory", driverMemoryQuantity)
@@ -121,7 +121,7 @@ private[spark] class BasicDriverFeatureStep(
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/features/BasicExecutorFeatureStep.scala
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ private[spark] class BasicExecutorFeatureStep(
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/src/test/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesExecutorBuilderSuite.scala
+76-11Lines changed: 76 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -168,31 +168,96 @@ class KubernetesExecutorBuilderSuite extends SparkFunSuite {
0 commit comments