Kushagra
80384bbb55
spelling mistake rectified
2022-12-29 17:55:17 +00:00
Kushagra
f380ef8b61
Misleading message when there are no metrics.
2022-12-29 10:57:43 +00:00
ialidzhikov
aede3fbf40
pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer
pkg
2022-11-23 17:40:23 +02:00
Kubernetes Prow Robot
c519bc02e8
Merge pull request #112011 from pbeschetnov/ambiguous-selectors
...
Add ambiguous selector check to HPA
2022-11-06 21:08:16 -08:00
Pavel Beschetnov
caddfdd040
Add pod ambiguous selector check
2022-11-04 12:49:20 +00:00
Kubernetes Prow Robot
f9f9f0107d
Merge pull request #112544 from abhijit-dev82/master
...
HPA : Enhance error message to capture POD details
2022-10-28 04:14:30 -07:00
Kubernetes Prow Robot
85643c0f93
Merge pull request #108501 from zroubalik/hpa
...
add `--concurrent-horizontal-pod-autoscaler-syncs` flag to kube-controller-manager
2022-10-17 14:13:18 -07:00
Zbynek Roubalik
1cefcdea2d
add --concurrent-horizontal-pod-autoscaler-syncs
flag to kube-controller-manager
...
Signed-off-by: Zbynek Roubalik <zroubalik@gmail.com>
2022-10-17 17:39:31 +02:00
Abhijit
ac56e6f34e
HPA : Enhance error message to capture POD details
...
HPA : Enhance error message to capture POD details
2022-10-17 14:21:28 +05:30
Kubernetes Prow Robot
4245895261
Merge pull request #111463 from pbetkier/hpa-comment-fix
...
Fix comment in HPA's scale event replicaChange
2022-09-30 04:08:28 -07:00
Kubernetes Prow Robot
3a0dbe5749
Merge pull request #112335 from piotrnosek/fixcustomcrd
...
Fix HPA E2E CustomResourceDefinition test
2022-09-22 11:01:06 -07:00
Kushagra
dc321b4d2a
requeted changes: fix variables in test cases
2022-09-22 09:17:15 +00:00
Kushagra
01b553145c
requested changes: fix return type variables
2022-09-22 08:59:02 +00:00
Piotr Nosek
96ff1b1bcb
Fix HPA E2E CRD test
2022-09-21 22:39:47 +00:00
Kushagra
cbea8d2248
requested changes
2022-09-19 08:15:06 +00:00
Kushagra
79f5c7da33
varibale name change for better understanding
2022-09-19 05:05:01 +00:00
Kushagra
de8245e952
added ut for the change
2022-09-05 14:56:24 +00:00
Kushagra
b75fbda0ed
requested changes
2022-09-05 04:54:59 +00:00
Kushagra
bb735bf689
revert for non-utilization metrics
2022-09-05 04:54:59 +00:00
Kushagra
6bb73bae06
FIX: hpa scale down with target >= 100
2022-09-05 04:54:59 +00:00
Kubernetes Prow Robot
5ade6c833f
Merge pull request #110695 from lokichoggio/hpa
...
code optimization: deal with error first to prevent unnecessary computing
2022-09-01 17:52:04 -07:00
Kubernetes Prow Robot
4cb7524e5a
Merge pull request #110492 from j2gg0s/opt-var-name-in-hpa
...
hpa: rename rebalanceIgnored to scaleUpWithUnready for understanding
2022-08-30 23:43:00 -07:00
Kubernetes Prow Robot
239a19ecc1
Merge pull request #111170 from ping035627/k8s-220715
...
HandleError of updateStatusIfNeeded in func reconcileAutoscaler
2022-08-30 10:59:06 -07:00
Kubernetes Prow Robot
da6d8c997e
Merge pull request #109058 from oliviermichaelis/calculate-start-replicas
...
Fix replica calculation at start of HPA scaling policy period
2022-08-30 10:58:55 -07:00
j2gg0s
755098cc31
hpa: rename rebalanceIgnored to scaleUpWithUnready for understanding
2022-08-26 15:36:11 +08:00
Piotr Betkier
f428705ec6
Fix comment in HPA's scale event replicaChange
...
The field replicaChange in timestampedScaleEvent was wrongly described
as either positive or negative depending on the scale direction. In
fact the change is set as unsigned, positive or 0 even for downscales.
2022-07-27 15:28:09 +02:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
PingWang
565d60ff15
HandleError of updateStatusIfNeeded in func reconcileAutoscaler
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2022-07-15 14:12:13 +08:00
Abirdcfly
2bca77a3d9
Update golangci-lint to 1.46.2 and fix errors
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2022-06-29 17:42:46 +08:00
lokichoggio
a86f1672c3
code optimization
2022-06-21 23:36:07 +08:00
Kubernetes Prow Robot
ad06854e5e
Merge pull request #110228 from mysunshine92/HPA-log-optimization
...
Error message optimization for podautoscaler controller
2022-05-27 05:13:18 -07:00
wangyamei
187dcb5a59
Error message optimization for podautoscaler controller
2022-05-26 23:40:34 +08:00
lokichoggio
57d1c2d5cd
complete doc
2022-05-24 11:26:15 +08:00
Olivier Michaelis
3c07d3a20c
Fix replica calculation at start of HPA scaling policy period
...
When calculating the scale-up/scale-down limit, the number of replicas
at the start of the scaling policy period is calculated correctly by
taken into account the number of scaled-up and scaled-down replicas.
Signed-off-by: Olivier Michaelis <38879457+oliviermichaelis@users.noreply.github.com>
2022-03-27 12:34:32 +02:00
Wojciech Tyczyński
551790729f
Remove selflink references in different testing-related files
2022-01-14 12:58:05 +01:00
Davanum Srinivas
ba1f853b5a
Add mwielgus back
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-10 09:02:53 -05:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-10 08:14:29 -05:00
Davanum Srinivas
497e9c1971
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-15 10:34:02 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Joseph Burnett
711f96e05e
Watch HPA v2 instead of v1.
2021-11-16 11:13:21 +01:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com>
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Mike Dame
7780024916
Wire contexts to Autoscaling controllers
2021-10-12 14:34:05 -04:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Marek Siarkowicz
4ebc0c94a4
Remove legacy metrics client from podautoscaler
2021-06-04 23:06:32 +02:00
Mikkel Oscar Lyderik Larsen
fef092b417
hpa: Don't scale down if at least one metric was invalid
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2021-03-03 07:53:01 +01:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Joseph Burnett
16133c2b77
Up and down scale stabilize with envelope.
...
The HPA controller keeps a flat history of recommendations for
stabilization. However when both up and down scale stabilization are
configured, the interpretation of the history changes depending on the
direction of movement. What we want is to keep the stabilized
recommendation within the envelope of the minimum and maximum over
configured stabilization windows. We should only move when the
envelope forces a move.
2020-12-21 14:36:13 +01:00
Kubernetes Prow Robot
c5efee02ac
Merge pull request #89465 from shibataka000/84142-cm
...
Fix HPA bug about unintentional scale out during updating deployment when using PodMetric.
2020-12-16 04:44:21 -08:00
Ben Hu
4e62298c1b
Fix static checks for pkg/controller/podautoscaler
2020-10-23 18:53:07 +00:00
Kubernetes Prow Robot
ec453ffb1a
Merge pull request #90691 from arjunrn/container-resource-hpa
...
Add container based scaling to HPA
2020-10-23 05:51:51 -07:00