Skip to content

Commit

Permalink
Change driver pod's restart policy from OnFailure to Never (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
ash211 committed Mar 8, 2017
1 parent 04a555e commit d7f41c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ private[spark] class Client(
.withLabels(driverKubernetesSelectors)
.endMetadata()
.withNewSpec()
.withRestartPolicy("OnFailure")
.withRestartPolicy("Never")
.addNewVolume()
.withName(SUBMISSION_APP_SECRET_VOLUME_NAME)
.withNewSecret()
Expand Down

0 comments on commit d7f41c5

Please sign in to comment.