Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit b84cb66

Browse files
foxishmccheah
authored andcommitted
Adding restart policy fix for v2 (#303)
1 parent 3881404 commit b84cb66

File tree

1 file changed

+1
-0
lines changed
  • resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/kubernetes/submit

1 file changed

+1
-0
lines changed

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/kubernetes/submit/Client.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ private[spark] class Client(
119119
.addToAnnotations(parsedCustomAnnotations.asJava)
120120
.endMetadata()
121121
.withNewSpec()
122+
.withRestartPolicy("Never")
122123
.addToContainers(driverContainer)
123124
.endSpec()
124125

0 commit comments

Comments
 (0)