Skip to content

Commit

Permalink
Change driver pod's restart policy from OnFailure to Never (apache-sp…
Browse files Browse the repository at this point in the history
  • Loading branch information
ash211 authored and mccheah committed Feb 23, 2017
1 parent 0a22b35 commit 622bfdb
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 622bfdb

Please sign in to comment.