Skip to content

Commit aa32291

Browse files
committed
Move an API alternative out of inline
Signed-off-by: Laura Lorenz <[email protected]>
1 parent 636d1dc commit aa32291

File tree

1 file changed

+10
-9
lines changed
  • keps/sig-node/4603-tune-crashloopbackoff

1 file changed

+10
-9
lines changed

keps/sig-node/4603-tune-crashloopbackoff/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -395,15 +395,6 @@ developers via wrapper scripts, but this causes no direct extra strain on
395395
kubelet as it simply causes the container to run indefinitely.
396396

397397

398-
399-
**Alternative**: Workloads must opt-in with `restartPolicy: FastOnSuccess`, as a
400-
foil to `restartPolicy: OnFailure`. In this case, existing workloads with
401-
`restartPolicy: Always` or ones not determined to be in the critical path would
402-
use the new, yet still relatively slower, front-loaded decay curve and only
403-
those updated with `FastOnSuccess` would get truer fast restart behavior.
404-
However, then it becomes impossible for a workload to opt into both
405-
`restartPolicy: FastOnSuccess` and `restartPolicy: Rapid`.
406-
407398
#### API opt in for max cap decay curve (`restartPolicy: Rapid`)
408399

409400
For some users in
@@ -1186,6 +1177,16 @@ These overrides will exist for the following reasons:
11861177
These had been selected because there are known use cases where changed restart
11871178
behavior would benefit workloads epxeriencing these categories of failures.
11881179

1180+
#### API opt-in for flat rate/quick restarts when transitioning from `Succeeded` phase
1181+
1182+
Workloads must opt-in with `restartPolicy: FastOnSuccess`, as a
1183+
foil to `restartPolicy: OnFailure`. In this case, existing workloads with
1184+
`restartPolicy: Always` or ones not determined to be in the critical path would
1185+
use the new, yet still relatively slower, front-loaded decay curve and only
1186+
those updated with `FastOnSuccess` would get truer fast restart behavior.
1187+
However, then it becomes impossible for a workload to opt into both
1188+
`restartPolicy: FastOnSuccess` and `restartPolicy: Rapid`.
1189+
11891190
### Front loaded decay with interval
11901191
In an effort
11911192
to anticipate API server stability ahead of the experiential data we can collect

0 commit comments

Comments
 (0)