Arjun Naik
0fec7b0f7e
Added functionality and API for pod autoscaling based on container resources
...
Signed-off-by: Arjun Naik <anaik@redhat.com>
2020-10-21 21:10:05 +02:00
Arjun Naik
8ab226263a
Adds tests
...
Signed-off-by: Arjun Naik <arjun@arjunnaik.in>
2019-12-10 18:09:20 +01:00
Rinat Shigapov
d55f037b7d
HPA scale-to-zero for custom object/external metrics
...
Add support for scaling to zero pods
minReplicas is allowed to be zero
condition is set once
Based on https://github.com/kubernetes/kubernetes/pull/61423
set original valid condition
add scale to/from zero and invalid metric tests
Scaling up from zero pods ignores tolerance
validate metrics when minReplicas is 0
Document HPA behaviour when minReplicas is 0
Documented minReplicas field in autoscaling APIs
2019-07-16 08:46:21 -05:00
Mike Dame
a79916fa84
Update autoscaling conversion and validation for v2beta2 inclusion
2018-08-27 11:07:52 -04:00
stewart-yu
55251c716a
update the import file for move util/pointer to k8s.io/utils
2018-07-27 19:47:02 +08:00
Maciej Pytel
4e7bc56aa2
Validate path in external metric name
2018-02-27 14:37:20 +01:00
Stephen Augustus
ca345ac9b8
Use Int32Ptr
function from utils instead of self-written versions
2018-02-25 14:38:58 -05:00
Maciej Pytel
602aaaf03d
Validation for HPA external metrics
2018-02-22 15:53:03 +01:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
allencloud
dafdd01af3
remove redundant error test case in autoscaling validation
...
Signed-off-by: allencloud <allen.sun@daocloud.io>
2017-08-16 11:31:08 +08:00
Solly Ross
86c430b881
Introduce HPA v2 API Objects
...
This commit introduces the autoscaling/v2alpha1 API group, which
currently contains the first alpha of the new HorizontalPodAutoscaler
object.
2017-02-07 17:20:14 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Clayton Coleman
36acd90aba
Move APIs and core code to use metav1.ObjectMeta
2017-01-17 16:17:18 -05:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Piotr Szczesniak
212b459817
Move internal types of hpa from pkg/apis/extensions to pkg/apis/autoscaling
2016-05-09 09:18:13 +02:00
Madhusudan.C.S
db29401857
Define the new Scale type in the autoscaling API group.
...
This new Scale type supports the more powerful set-based label selector
semantics. The selector, however, is stored in a serialized format, as
a string.
2016-02-24 15:23:31 -08:00