kubernetes/pkg/controller
Kubernetes Submit Queue 20a4112e88 Merge pull request #46542 from derekwaynecarr/quota-ignore-pod-whose-node-lost
Automatic merge from submit-queue (batch tested with PRs 52442, 52247, 46542, 52363, 51781)

Ignore pods for quota marked for deletion whose node is unreachable

**What this PR does / why we need it**:
Traditionally, we charge to quota all pods that are in a non-terminal phase.  We have a user report that noted the behavior change in kube 1.5 for the node controller to no longer force delete pods whose nodes have been lost.  Instead, the pod is marked for deletion, and the reason is updated to state that the node is unreachable.  The user expected the quota to be released.  If the user was at their quota limit, their application may not be able to create a new replica given the current behavior.  As a result, this PR ignores pods marked for deletion that have exceeded their grace period.

**Which issue this PR fixes**
xref https://bugzilla.redhat.com/show_bug.cgi?id=1455743
fixes https://github.com/kubernetes/kubernetes/issues/52436

**Release note**:
```release-note
Ignore pods marked for deletion that exceed their grace period in ResourceQuota
```
2017-09-15 00:11:10 -07:00
..
bootstrap controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
certificates controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
cloud Remove links to GCE/AWS cloud providers from PersistentVolumeController 2017-09-08 15:28:08 -04:00
cronjob Enable batch/v1beta1.CronJobs by default 2017-09-03 11:17:33 +02:00
daemon remove OutOfDisk from controllers 2017-09-04 17:35:55 -07:00
deployment Fix deployment timeout reporting 2017-09-08 17:48:46 +02:00
disruption controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
endpoint controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
garbagecollector Disable default paging in list watches 2017-09-06 23:10:59 -04:00
history Adds the rand.SafeEncodeString function and uses this function to 2017-08-30 14:01:11 -07:00
job Improve how JobController use queue for backoff 2017-09-07 17:14:47 +02:00
namespace add an starting info log of namespace controller. 2017-08-26 00:25:37 +08:00
node Merge pull request #51603 from hzxuzhonghu/taint-controller-panic 2017-09-06 02:55:09 -07:00
podautoscaler Merge pull request #50708 from DirectXMan12/versions/autoscaling-v2beta1 2017-09-06 15:46:24 -07:00
podgc Make metav1.(Micro)?Time functions take pointers 2017-08-17 11:24:28 +02:00
replicaset Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
replication Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
resourcequota Ignore pods for quota that exceed deletion grace period 2017-09-11 13:31:52 -04:00
route Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
service controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
serviceaccount Add enj as reviewer to OWNERS 2017-08-17 20:42:46 -04:00
statefulset controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
testutil Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
ttl controllers: simplify deepcopy calls 2017-08-29 19:21:24 +02:00
volume Merge pull request #51387 from alrs/fix-storageos-swallowed-err 2017-09-13 11:10:24 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Update generated files - api, bazel, json 2017-09-04 09:02:35 +02:00
client_builder.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
controller_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10:00
controller_ref_manager_test.go Merge pull request #50353 from zhangxiaoyu-zidif/Delete-redundant-expectError-for-controller-ref-test 2017-08-12 00:00:55 -07:00
controller_utils.go Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
controller_utils_test.go CollisionCount should have type int32 across controllers that use it for collision avoidance 2017-08-18 10:48:12 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00