kubernetes/pkg/controller
k8s-merge-robot 62a8394eb4 Merge pull request #25263 from jsafrane/devel/adopt-recycle-pod
Automatic merge from submit-queue

volume recycler: Don't start a new recycler pod if one already exists.

Recycling is a long duration process and when the recycler controller is restarted in the meantime, it should not start a new recycler pod if there is one already running.

This means that the recycler pod must have deterministic name based on name of the recycled PV, we then get name conflicts when creating the pod.

Two things need to be changed:

- recycler controller and recycler plugins must pass the PV.Name to place, where the pod is created. This is most of the patch and it should be pretty straightforward.

- create recycler pod with deterministic name and check "already exists" error.

When at it, remove useless 'resourceVersion' argument and make log messages starting with lowercase.

There is an unit test to check the behavior + there is an e2e test that checks that regular recycling is not broken (it does not try to run two recycler pods in parallel as the recycler is single-threaded now).
2016-05-21 02:28:26 -07:00
..
daemon Merge pull request #24908 from pmorie/daemon-controller-loc 2016-05-12 15:51:55 -07:00
deployment move server client shared annotations to new api/annotations package 2016-05-09 11:10:44 -07:00
endpoint Endpoints controller respects unready service annotation 2016-05-10 14:20:10 -07:00
framework Separate sync and list functionality in the reflector. #23394 2016-05-19 07:41:24 -04:00
garbagecollector the garbage collector controller 2016-05-15 16:04:19 -07:00
gc implement AddIndexers for SharedIndexInformer 2016-05-06 21:23:18 +08:00
job implement AddIndexers for SharedIndexInformer 2016-05-06 21:23:18 +08:00
namespace the garbage collector controller 2016-05-15 16:04:19 -07:00
node make podcidr mask size configurable 2016-05-20 20:44:40 +08:00
persistentvolume Merge pull request #25263 from jsafrane/devel/adopt-recycle-pod 2016-05-21 02:28:26 -07:00
petset Update use of Quantity in other classes 2016-05-19 08:41:43 -04:00
podautoscaler Update use of Quantity in other classes 2016-05-19 08:41:43 -04:00
replicaset add namespace index to rc and pod 2016-05-06 17:12:36 +08:00
replication Explicitly enqueue controllers on failures and increase resync period 2016-05-16 08:52:01 +02:00
resourcequota Fix resource quota controller shutting down its worker threads 2016-05-10 19:50:36 -04:00
route Generated clients can return their RESTClients, RESTClient can return its RateLimiter 2016-04-27 22:15:10 +02:00
service Merge pull request #24220 from gmarek/metrics 2016-04-27 19:25:38 -07:00
serviceaccount Generated clients can return their RESTClients, RESTClient can return its RateLimiter 2016-04-27 22:15:10 +02:00
volume Corrects some misspellings in comments 2016-05-11 08:16:13 +01:00
controller_utils_test.go Fix the rest of the code 2016-04-29 17:12:10 -04:00
controller_utils.go Make name validators return string slices 2016-05-18 00:48:01 -07:00
doc.go Refactor package controller 2015-07-29 09:54:35 -07:00
lookup_cache.go Update lookup_cache.go 2016-05-16 15:26:30 +08:00
OWNERS Remove myself from a bunch of OWNERS files, as I am too overloaded 2016-05-11 13:34:51 -07:00