File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
keps/sig-node/4603-tune-crashloopbackoff Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1231,6 +1231,24 @@ those updated with `FastOnSuccess` would get truer fast restart behavior.
1231
1231
However, then it becomes impossible for a workload to opt into both
1232
1232
`restartPolicy : FastOnSuccess` and `restartPolicy: Rapid`.
1233
1233
1234
+ # #### Related: `Succeeded` vs `Rapid`ly failing: who's getting the better deal?
1235
+
1236
+ When both a flat rate `Succeeded` and a `Rapid` implementation were combined in
1237
+ this proposal, depending on the variation of the initial value, the first few
1238
+ restarts of a failed container would be faster than a successful container,
1239
+ which at first look seems backwards.
1240
+
1241
+ 
1245
+
1246
+ However, based on the use cases, this is still correct because the goal of
1247
+ restarting failed containers is to take maximum advantage of quickly recoverable
1248
+ situations, while the goal of restarting successful containers is only to get
1249
+ them to run again sometime and not penalize them with longer waits later when
1250
+ they've behaving as expected.
1251
+
1234
1252
# ## Front loaded decay with interval
1235
1253
In an effort
1236
1254
to anticipate API server stability ahead of the experiential data we can collect
You can’t perform that action at this time.
0 commit comments