k3s/pkg
Kubernetes Submit Queue 30eb1aa7c5
Merge pull request #60648 from bskiba/hpa-unready
Automatic merge from submit-queue (batch tested with PRs 60732, 60689, 60648, 60704). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Do not count failed pods as unready in HPA controller

**What this PR does / why we need it**:
Currently, when performing a scale up, any failed pods (which can be present for example in case of evictions performed by kubelet) will be treated as unready. Unready pods are treated as if they had 0% utilization which will slow down or even block scale up.

After this change, failed pods are ignored in all calculations. This way they do not influence neither scale up nor scale down replica calculations.

@MaciekPytel @DirectXMan12 

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #55630

**Special notes for your reviewer**:

**Release note**:
```
Stop counting failed pods as unready in HPA controller to avoid failed pods incorrectly affecting scale up replica count calculation.
```
2018-03-02 14:25:54 -08:00
..
api API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
apis Bugfix: Fix ordering of ValidateObjectMetaUpdate method arguments for PodTemplate validation 2018-03-02 14:36:20 +11:00
auth Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
capabilities Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Run hack/update-all.sh 2018-02-26 17:16:14 -08:00
cloudprovider Set default vmtype to standard if not set 2018-03-01 13:48:54 +08:00
controller Merge pull request #60648 from bskiba/hpa-unready 2018-03-02 14:25:54 -08:00
credentialprovider Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
features API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
fieldpath Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
generated generated 2018-02-27 21:21:14 -08:00
kubeapiserver Merge pull request #55856 from miaoyq/replace-for-with-sets 2018-02-28 00:00:32 -08:00
kubectl Merge pull request #60572 from charrywanganthony/show-all_descr 2018-03-01 07:42:54 -08:00
kubelet API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
kubemark add nodeport-addresses flag for kube-proxy 2018-02-26 23:48:46 +08:00
master implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
printers Add missing table converters for server side printing 2018-02-28 17:27:45 +01:00
probe Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
proxy Merge pull request #56880 from MrHohn/kube-proxy-ipv6-fix 2018-02-28 00:00:29 -08:00
quota Merge pull request #57375 from tianshapjq/cleanup-useless-func-core/services.go 2018-02-28 01:12:29 -08:00
registry Merge pull request #60362 from lcfang/test0224 2018-03-01 07:42:48 -08:00
routes Remove /ui/ redirect 2018-02-12 10:54:33 -05:00
scheduler Merge pull request #60386 from k82cn/k8s_60163 2018-03-02 03:41:50 -08:00
security Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
securitycontext API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
serviceaccount implement token authenticator for new id tokens 2018-02-27 17:20:46 -08:00
ssh Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
util Merge pull request #56880 from MrHohn/kube-proxy-ipv6-fix 2018-02-28 00:00:29 -08:00
version Require boilerplate on Bazel Skylark source files 2018-02-16 13:44:04 -08:00
volume add remount logic for azure file plugin 2018-03-01 07:46:07 +00:00
watch/json remove outdate package 2018-01-15 23:17:19 +08:00
.import-restrictions
BUILD Remove pkg/client/unversioned 2018-02-21 13:08:11 +01:00
OWNERS