@@ -411,7 +411,7 @@ its expedient to see the exact config proposed here:
411
411
apiVersion: kubelet.config.k8s.io/v1beta1
412
412
kind: KubeletConfiguration
413
413
crashloopbackoff:
414
- max : 4
414
+ maxSeconds : 4
415
415
```
416
416
417
417
### Refactor and flat rate to 10 minutes for the backoff counter reset threshold
@@ -760,7 +760,7 @@ The proposed configuration explicitly looks like this:
760
760
apiVersion: kubelet.config.k8s.io/v1beta1
761
761
kind: KubeletConfiguration
762
762
crashloopbackoff:
763
- max : 4
763
+ maxSeconds : 4
764
764
```
765
765
766
766
### Refactor of recovery threshold
@@ -1146,7 +1146,7 @@ heterogenity between "Succeeded" terminating pods, and crashing pods whose
1146
1146
1147
1147
# ### Alpha
1148
1148
1149
- - New `int32 crashloopbackoff.max ` field in `KubeletConfiguration` API, validated
1149
+ - New `int32 crashloopbackoff.maxSeconds ` field in `KubeletConfiguration` API, validated
1150
1150
to a minimum of 1 and a maximum of 300, used when
1151
1151
` EnableKubeletCrashLoopBackoffMax` feature flag enabled, to customize
1152
1152
CrashLoopBackOff per node
@@ -1300,12 +1300,12 @@ To make use of this enhancement, on cluster upgrade, the
1300
1300
` EnableKubeletCrashLoopBackoffMax` feature gate must first be turned on for the
1301
1301
cluster. Then, if any nodes need to use a different backoff curve, their kubelet
1302
1302
must be completely redeployed either in the same upgrade or after that upgrade
1303
- with the `crashloopbackoff.max ` `KubeletConfiguration` set.
1303
+ with the `crashloopbackoff.maxSeconds ` `KubeletConfiguration` set.
1304
1304
1305
1305
To stop use of this enhancement, there are two options.
1306
1306
1307
1307
On a per-node basis, nodes can be completely redeployed with
1308
- ` crashloopbackoff.max ` ` KubeletConfiguration` unset. Since kubelet does
1308
+ ` crashloopbackoff.maxSeconds ` ` KubeletConfiguration` unset. Since kubelet does
1309
1309
not cache the backoff object, on kubelet restart they will start from the
1310
1310
beginning of their backoff curve (either the original one with initial value
1311
1311
10s, or the new baseline with initial value 1s, depending on whether they've
@@ -1343,9 +1343,9 @@ lower than 300s, it will be honored. In other words, operator-invoked
1343
1343
configuration will have precedence over the default, even if it is slower, as
1344
1344
long as it is valid.
1345
1345
1346
- If `crashloopbackoff.max ` `KubeletConfiguration` exists but
1346
+ If `crashloopbackoff.maxSeconds ` `KubeletConfiguration` exists but
1347
1347
` EnableKubeletCrashLoopBackoffMax` is off, kubelet will log a warning but will
1348
- not honor the `crashloopbackoff.max ` `KubeletConfiguration`. In other words,
1348
+ not honor the `crashloopbackoff.maxSeconds ` `KubeletConfiguration`. In other words,
1349
1349
operator-invoked per node configuration will not be honored if the overall
1350
1350
feature gate is turned off.
1351
1351
0 commit comments