kubernetes/pkg/controller/statefulset
Nan Yu 89bb7d8454 Honor the RevisionHistoryLimit in StatefulSetSpec
The StatefulSet controller cleans up ControllerRevisions at the end of
the reconcile loop. If something goes wrong during reconcile, it bails
out without actually performing this step. This commit moves the cleanup
to a deferred function call to guarantee it will be executed.

Fixes issue: https://github.com/kubernetes/kubernetes/issues/85690
2020-02-18 10:42:38 -08:00
..
config Autogenerated code 2019-10-24 20:21:00 +02:00
BUILD Honor the RevisionHistoryLimit in StatefulSetSpec 2020-02-18 10:42:38 -08:00
OWNERS Updates OWNERS files and OWNERS_ALIASES for SIG Apps to make reviewers 2019-04-16 11:35:21 -07:00
stateful_pod_control_test.go cleanup: fix some log and error capitalizations 2019-07-20 18:26:16 -04:00
stateful_pod_control.go generated: run refactor 2020-02-08 12:30:21 -05:00
stateful_set_control_test.go Honor the RevisionHistoryLimit in StatefulSetSpec 2020-02-18 10:42:38 -08:00
stateful_set_control.go Honor the RevisionHistoryLimit in StatefulSetSpec 2020-02-18 10:42:38 -08:00
stateful_set_status_updater_test.go cleanup: fix some log and error capitalizations 2019-07-20 18:26:16 -04:00
stateful_set_status_updater.go generated: run refactor 2020-02-08 12:30:21 -05:00
stateful_set_test.go Garbage collector should orphan ControllerRevisions too 2020-02-10 20:58:28 +08:00
stateful_set_utils_test.go fix a bug that orphan revision cannot be adopted and sts cannot be synced 2020-01-08 17:56:41 +08:00
stateful_set_utils.go Remove some unused codes in stateful_set_utils.go 2019-09-21 22:24:48 +08:00
stateful_set.go Garbage collector should orphan ControllerRevisions too 2020-02-10 20:58:28 +08:00