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:
committed by
Steve Perry
parent
b7719cdf58
commit
11b0b64ab9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user