kubernetes/pkg/controller
mattjmcnaughton dc8df2701b Fix incorrect status msg in podautoscaler
Fix #49256

When `ScalingLimited = true` for the `hpa`, there is an accompanying
status message, describing why scaling is limited. Previously if the desired
replica count was 0, and spec.minReplicas > 0, the status message
indicated "the desired replica count was less than the min replica
count". This was particularly confusing when `spec.MinReplicas = 1`. If
there was no `spec.minReplicas`, then the status message indicated "the
desired replica count was zero" which is more informative.

Update the calculation of status message so that if the desired replica
count is 0, we always display the clearer "the desired replica count was
zero" status message, even if spec.minReplicas > 0.

Signed-off-by: mattjmcnaughton <mattjmcnaughton@gmail.com>
2017-09-13 09:27:38 -04: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 Merge pull request #44680 from rrati/pvl-controller 2017-08-31 23:13:23 -07: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 Move paused deployment e2e tests to integration 2017-09-06 18:12:28 -07: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 Fix incorrect status msg in podautoscaler 2017-09-13 09:27:38 -04: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 Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07: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 Fix panic in expand controller when checking PVs 2017-09-06 13:27:10 +02: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_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_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10: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
controller_utils.go Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06: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