website/content/en/docs/concepts/workloads/controllers
Leon Barrett 7b92c46503 Fix description of back-off count reset
By carefully reading the code in `job_controller.go`, I finally understood that
the back-off count is reset when `forget` is true, which happens when `active`
or `successful` changes without any new failures right at the moment. That
happens in this code:

dd649bb7ef/pkg/controller/job/job_controller.go (L588)

That behavior does not match what this document says. My change fixes the doc
to match the code.

It might be better to fix the behavior to match the doc, since the behavior is
kind of weird to describe. But I imagine that the Kubernetes team will need to
consider factors I'm not aware of before deciding to change job back-off
behavior, so I am not going to the effort of proposing a change like that.
2020-07-10 14:10:05 -07:00
..
_index.md Convert site to Hugo (#8316) 2018-05-05 09:00:51 -07:00
cron-jobs.md Link to better page on cron schedule format 2020-06-16 08:41:17 +01:00
daemonset.md add en pages 2020-06-09 19:33:15 -04:00
deployment.md Separate commands from output in Deployment concept 2020-06-15 21:07:42 +01:00
garbage-collection.md Reorder Job in workload controllers list 2020-06-11 23:11:34 +01:00
job.md Fix description of back-off count reset 2020-07-10 14:10:05 -07:00
replicaset.md add en pages 2020-06-09 19:33:15 -04:00
replicationcontroller.md add en pages 2020-06-09 19:33:15 -04:00
statefulset.md add en pages 2020-06-09 19:33:15 -04:00
ttlafterfinished.md Rename Job concept page 2020-06-11 23:13:23 +01:00