fix(pod restartPolicy): add restartPolicy to pods (#5817)

Some pods were missing `restartPolicy` which caused them to
go in `CrashLoopBackoff`, so adding `restartPolicy` as
`OnFailure`.
This commit is contained in:
Suraj Deshmukh
2017-10-10 05:55:34 +05:30
committed by Steve Perry
parent b7719cdf58
commit 11b0b64ab9
4 changed files with 4 additions and 0 deletions
@@ -10,3 +10,4 @@ spec:
image: debian
command: ["printenv"]
args: ["HOSTNAME", "KUBERNETES_PORT"]
restartPolicy: OnFailure
@@ -10,3 +10,4 @@ spec:
image: debian
command: ["printenv"]
args: ["HOSTNAME", "KUBERNETES_PORT"]
restartPolicy: OnFailure
@@ -10,3 +10,4 @@ spec:
image: debian
command: ["printenv"]
args: ["HOSTNAME", "KUBERNETES_PORT"]
restartPolicy: OnFailure
@@ -10,3 +10,4 @@ spec:
image: debian
command: ["printenv"]
args: ["HOSTNAME", "KUBERNETES_PORT"]
restartPolicy: OnFailure