Andy Bursavich
030aab29a1
Make API constants constant
2019-09-11 11:04:07 -07:00
misakazhou
f0323a2030
Fix broken link to api-conventions doc.
...
Signed-off-by: misakazhou <misakazhou@tencent.com>
2019-08-29 08:35:16 +08:00
Rinat Shigapov
19d93eefeb
Update generated files
...
update generated protobufs
swagger docs are regenerated
update openapi-spec
update generated openapi
2019-07-16 08:46:21 -05: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
Ted Yu
ceceb68cee
Remove unintended ampersand in front of in.Current.AverageValue
2019-07-08 10:23:41 -07:00
Chao Xu
369314959c
generated
2019-05-24 18:14:53 -07:00
Àbéjídé Àyodélé
25df4e69a5
Clean up pkg/apis.
...
These are based on recommendation from
[staticcheck](http://staticcheck.io/ ).
2019-05-09 15:25:41 +00:00
Kubernetes Prow Robot
a2afe45366
Merge pull request #76991 from yue9944882/chore/cleanup-hub-genclient-tags
...
Clean up genclient tags for hub types
2019-04-30 14:11:12 -07:00
Kubernetes Prow Robot
0f4b666469
Merge pull request #76778 from SataQiu/fix-golint-20190419
...
Fix golint failures of pkg/apis/autoscaling
2019-04-30 01:19:37 -07:00
yue9944882
71a58de48b
clean up genclient tags for hub types
2019-04-24 16:53:21 +08:00
SataQiu
853c33358a
fix golint failures of pkg/apis/autoscaling
2019-04-24 15:13:01 +08:00
Solly Ross
837976cb59
Prune directxman12 from metrics/autoscaling OWNERS
...
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
WanLinghao
cb9da96cc9
Remove duplicate package import
2019-02-28 16:26:20 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
zuoxiu.jm
e85924e164
fixes autoscaling types conversion
2018-12-05 23:53:03 +08:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
Mike Dame
3bb36411da
Fix conversion for autoscaling/v1 ObjectMetricSource and add MetricIdentifier fuzzer
...
Selectors in ObjectMetricSource's weren't being persisted through roundtrip conversions, and this wasn't caught because we had no fuzzer testing MetricIdentifier selectors
2018-08-29 15:29:19 -04:00
Mike Dame
77d7f9cfa2
Generate files and modifications for autoscaling/v2beta2 and custom_metrics/v1beta2
2018-08-27 11:07:53 -04:00
Mike Dame
a79916fa84
Update autoscaling conversion and validation for v2beta2 inclusion
2018-08-27 11:07:52 -04:00
Mike Dame
5d1ee1640b
Autoscaling v2beta2 and custom metrics v1beta2 APIs
2018-08-27 11:07:52 -04:00
Di Xu
3157ff0230
use NameIsDNSSubdomain validation from staging
2018-08-14 10:38:23 +08:00
stewart-yu
f1343af5d7
auto-generated file
2018-07-28 07:54:17 +08:00
stewart-yu
55251c716a
update the import file for move util/pointer to k8s.io/utils
2018-07-27 19:47:02 +08:00
Clayton Coleman
ef561ba8b5
generated: Avoid use of reflect.Call in conversion code paths
2018-07-17 23:02:16 -04:00
Dr. Stefan Schimanski
f8de7cea40
Update generated files
2018-06-29 20:36:17 +02:00
Jeff Grafton
23ceebac22
Run hack/update-bazel.sh
2018-06-22 16:22:57 -07:00
Jeff Grafton
a725660640
Update to gazelle 0.12.0 and run hack/update-bazel.sh
2018-06-22 16:22:18 -07:00
Dr. Stefan Schimanski
1208437f84
Update generated files
2018-06-13 12:35:13 +02:00
Jordan Liggitt
364e2d799d
Revert "Add validation code for the Vertical Pod Autoscaler API."
...
This reverts commit 390cfec617
.
2018-06-07 14:46:18 -04:00
Jordan Liggitt
846cbe4e6b
Revert "Auto-generated code for the Vertical Pod Autoscaler API."
...
This reverts commit da65f30e2a
.
2018-06-07 14:46:17 -04:00
Jordan Liggitt
4ac642cd11
Revert "Add Vertical Pod Autoscaling API to the autoscaling group."
...
This reverts commit 3f92d3fcda
.
2018-06-07 14:46:17 -04:00
kgrygiel
390cfec617
Add validation code for the Vertical Pod Autoscaler API.
2018-06-06 13:00:55 +02:00
kgrygiel
da65f30e2a
Auto-generated code for the Vertical Pod Autoscaler API.
2018-06-06 13:00:55 +02:00
kgrygiel
3f92d3fcda
Add Vertical Pod Autoscaling API to the autoscaling group.
2018-06-06 13:00:55 +02:00
David Eads
c5445d3c56
simplify api registration
2018-05-08 18:33:50 -04:00
David Eads
7b4f97aca3
generated
2018-05-08 18:32:44 -04:00
David Eads
e7fbbe0e3c
eliminate indirection from type registration
2018-04-25 09:02:31 -04:00
fisherxu
b49ef6531c
regenerated all files and remove all YEAR fields
2018-03-08 17:52:48 +08:00
Maciej Pytel
4e7bc56aa2
Validate path in external metric name
2018-02-27 14:37:20 +01:00
Kubernetes Submit Queue
1eb1c00c44
Merge pull request #59674 from jennybuckley/codegen
...
Automatic merge from submit-queue. 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>.
code-gen: output golint compliant 'Generated by' comment
New PR instead of reopening #58115 because /reopen did not work.
This won't be ready to merge until the upstream https://github.com/kubernetes/gengo/pull/94 merges. Once that merges, the second commit will be changed to godep-save.sh and update-staging-godeps.sh, and the last commit will be changed to update-all.sh
The failing test is due to the upstream changes not being merged yet
```devel-release-note
Go code generated by the code generators will now have a comment which allows them to be easily identified by golint
```
Fixes #56489
2018-02-27 02:47:05 -08:00
jennybuckley
c8dacd8e63
Run hack/update-all.sh
2018-02-26 17:16:14 -08:00
Stephen Augustus
036a9ba928
Run hack/update-bazel.sh
2018-02-25 14:38:59 -05: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
Maciej Pytel
079f3f1829
Autogenerated code for HPA external metrics
2018-02-22 14:45:06 +01:00
Maciej Pytel
8a002d855f
Add external metric type to HPA API
2018-02-22 14:44:21 +01:00
Jeff Grafton
ef56a8d6bb
Autogenerated: hack/update-bazel.sh
2018-02-16 13:43:01 -08:00
Timothy St. Clair
da77826d08
Remove myself (timothysc) from OWNERS files on areas that I do not
...
actively maintain.
2018-02-12 18:56:41 -06:00