k3s/pkg/controller
Kubernetes Submit Queue 79ed7064ca Merge pull request #27970 from jingxu97/restartKubelet-6-22
Automatic merge from submit-queue

Add volume reconstruct/cleanup logic in kubelet volume manager

Currently kubelet volume management works on the concept of desired
and actual world of states. The volume manager periodically compares the
two worlds and perform volume mount/unmount and/or attach/detach
operations. When kubelet restarts, the cache of those two worlds are
gone. Although desired world can be recovered through apiserver, actual
world can not be recovered which may cause some volumes cannot be cleaned
up if their information is deleted by apiserver. This change adds the
reconstruction of the actual world by reading the pod directories from
disk. The reconstructed volume information is added to both desired
world and actual world if it cannot be found in either world. The rest
logic would be as same as before, desired world populator may clean up
the volume entry if it is no longer in apiserver, and then volume
manager should invoke unmount to clean it up.

Fixes https://github.com/kubernetes/kubernetes/issues/27653
2016-08-15 13:48:43 -07:00
..
certificates certificates: implement certificates controller 2016-07-19 11:25:38 -07:00
daemon Avoid computing super-expensive DeepEqual on every pod update 2016-08-11 08:35:36 +02:00
deployment Avoid computing super-expensive DeepEqual on every pod update 2016-08-11 08:35:36 +02:00
endpoint Endpoint controller logs errors during normal cluster behavior 2016-08-12 12:51:07 -04:00
framework Collapse duplicate informer creation paths 2016-08-04 09:02:13 +02:00
garbagecollector Merge pull request #28387 from caesarxuchao/gc-latency-measure 2016-08-11 02:33:55 -07:00
job Avoid computing super-expensive DeepEqual on every pod update 2016-08-11 08:35:36 +02:00
namespace only store typeMeta and objectMeta in the gc store 2016-08-08 17:23:13 -07:00
node Merge pull request #29230 from luxas/goimport 2016-08-05 16:22:01 -07:00
petset Merge pull request #30277 from wojtek-t/optimize_controllers 2016-08-12 03:20:58 -07:00
podautoscaler fix go vet errors 2016-08-10 16:45:41 -07:00
podgc Use Go canonical import paths 2016-07-16 13:48:21 -04:00
replicaset Avoid computing super-expensive DeepEqual on every pod update 2016-08-11 08:35:36 +02:00
replication Avoid computing super-expensive DeepEqual on every pod update 2016-08-11 08:35:36 +02:00
resourcequota Merge pull request #29653 from ZTE-PaaS/zhangke-patch-010 2016-08-11 21:54:28 -07:00
route Use Go canonical import paths 2016-07-16 13:48:21 -04:00
scheduledjob Remove pods along with jobs when Replace ConcurrentPolicy is set 2016-08-14 11:59:06 +02:00
service rewrite serivce controller to apply the latest controller pattern 2016-08-04 09:28:55 +08:00
serviceaccount move new etcd storage into cacher 2016-08-12 18:40:20 -07:00
volume This change supports robust kubelet volume cleanup 2016-08-15 11:29:15 -07:00
OWNERS
controller_ref_manager.go let RC manager utilize the GC 2016-07-14 19:59:31 -07:00
controller_utils.go Print/log pointers of structs with %#v instead of %+v 2016-08-01 22:27:56 +02:00
controller_utils_test.go Merge pull request #29621 from resouer/uuid 2016-08-01 22:21:30 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00