Kensei Nakada
543f15d10c
HPA: expose the metrics "metric_computation_duration_seconds" and "metric_computation_total" from HPA controller
2023-03-14 22:47:24 +00:00
Kensei Nakada
b49b34c03a
HPA: expose the metrics "reconciliations_total" and "reconciliation_duration_seconds" from HPA controller ( #116010 )
2023-03-14 09:39:42 -07:00
Kubernetes Prow Robot
c237ddb226
Merge pull request #116045 from sanposhiho/sanposhiho/message
...
fix(HPA): make a difference in SuccessfulRescale events between the resource metric and the container resource metric
2023-03-13 13:24:47 -07:00
Kensei Nakada
fafbed3b1d
fix the error message
2023-03-12 14:48:48 +09:00
Kensei Nakada
f76258f0ff
fix based on the suggestion
2023-03-05 15:01:34 +00:00
Kensei Nakada
33daba24fb
fix(HPA): ignore the container resource metrics in HPA controller when the feature gate is disabled
2023-02-25 23:04:07 +00:00
Kensei Nakada
2ea50fc200
fix(HPA): make a difference in SuccessfulRescale events between the resource metric and the container resource metric
2023-02-24 14:47:38 +00:00
Freddie
dee494ece1
squashing without rebase
2023-02-17 01:47:52 +05:30
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