Omer Aplatony
87f8bd6c61
fmt & fix e2e
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-07-31 11:07:23 +00:00
Omer Aplatony
1679398adc
lint OOM -> Oom
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-07-31 10:24:27 +00:00
Omer Aplatony
fad96154fe
migrate to quantity
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-07-27 19:25:56 +00:00
Omer Aplatony
8463a5df50
update e2e
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-07-27 09:01:01 +00:00
Omer Aplatony
bf5cb23661
update e2e
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-07-27 08:53:22 +00:00
Omer Aplatony
53c610eff7
update e2e test
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-07-26 16:05:56 +00:00
Omer Aplatony
95c22faab3
in-progress
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-06-18 09:02:09 +00:00
Omer Aplatony
d3211d6c9e
in-progress
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-06-18 09:01:21 +00:00
Omer Aplatony
c2d0b5aac3
run generate flags
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-06-14 14:52:40 +00:00
Omer Aplatony
85df9681ad
merged master
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-06-14 14:49:34 +00:00
Kubernetes Prow Robot
2bdd964632
Merge pull request #8210 from marcdavoli/patch-1
...
fix: add missing 'admission-controller-service' resource to 'hack/vpa-process-yamls.sh print'
2025-06-14 00:24:56 -07:00
Marc Davoli
187f023315
Merge branch 'master' into patch-1
2025-06-13 16:50:22 -04:00
Kubernetes Prow Robot
0ff374134f
Merge pull request #8239 from sbueringer/pr-update-docs
...
Remove redundant warning in the autoscaler Cluster API documentation
2025-06-12 12:36:56 -07:00
Kubernetes Prow Robot
31eb0a137d
Merge pull request #8181 from MenD32/fix/topology-spread-binpacking
...
fix: binpacking simulator scale up optimization on pods with topology…
2025-06-12 09:36:57 -07:00
Stefan Bueringer
6c12c60942
Remove redundant warning
2025-06-12 10:08:39 +02:00
Kubernetes Prow Robot
8014ae253d
Merge pull request #8236 from BigDarkClown/update-1.34
...
Update deps to use k8s 1.34.0-alpha.0
2025-06-11 08:22:56 -07:00
Bartłomiej Wróblewski
efdd034d91
Update deps to use k8s 1.34.0-alpha.0
2025-06-11 15:13:28 +00:00
Kubernetes Prow Robot
8e7d62b26e
Merge pull request #8109 from abdelrahman882/dra-node-readiness
...
Handle node readiness for DRA after a scale-up
2025-06-11 07:40:56 -07:00
Kubernetes Prow Robot
5bc430e9a8
Merge pull request #8235 from mtrqq/dra-delta-snapshot
...
[DRA] Enable DeltaSnapshotStore to work when DRA is enabled
2025-06-11 05:04:56 -07:00
Omran
b07e1e4c70
Handle node readiness for DRA after a scale-up
2025-06-11 08:54:53 +00:00
Maksym Fuhol
61328095ae
Enable DeltaSnapshotStore to work when DRA is enabled
2025-06-11 08:29:53 +00:00
MenD32
0002157b3a
nit: when scheduling fails on topology constraints, skip the last node that failed scheduling
...
Signed-off-by: MenD32 <amit.mendelevitch@gmail.com>
2025-06-11 09:38:49 +03:00
Kubernetes Prow Robot
134d636520
Merge pull request #8090 from mtrqq/dra-shapshot-patch
...
Patches based implementation for DRA snapshot.
2025-06-10 16:52:55 -07:00
Jack Francis
a880a2bca3
Merge pull request #8207 from kubernetes/dependabot/docker/vertical-pod-autoscaler/pkg/updater/golang-1.24.4
...
Bump golang from 1.24.3 to 1.24.4 in /vertical-pod-autoscaler/pkg/updater
2025-06-10 12:09:31 -07:00
Jack Francis
4a989c0268
Merge pull request #8206 from kubernetes/dependabot/docker/vertical-pod-autoscaler/pkg/recommender/golang-1.24.4
...
Bump golang from 1.24.3 to 1.24.4 in /vertical-pod-autoscaler/pkg/recommender
2025-06-10 12:08:40 -07:00
Kubernetes Prow Robot
5ae532f340
Merge pull request #8148 from mohammaddehnavi/patch-1
...
bug: Fix the "VolumeAttachment" issue on the AWS providers example in the new version
2025-06-10 11:54:56 -07:00
Maksym Fuhol
98f86a71e6
Refactor PatchSet to be contained in a separate package for reusability.
2025-06-10 18:40:54 +00:00
Kubernetes Prow Robot
189e1397e9
Merge pull request #8204 from voelzmo/enh/improve-admission-controller-logging
...
include pod namespace when logging updates
2025-06-10 11:06:55 -07:00
Jack Francis
76f2bf8ae3
Merge pull request #8208 from kubernetes/dependabot/docker/vertical-pod-autoscaler/pkg/admission-controller/golang-1.24.4
...
Bump golang from 1.24.3 to 1.24.4 in /vertical-pod-autoscaler/pkg/admission-controller
2025-06-10 10:57:57 -07:00
Jack Francis
39487100ce
Merge pull request #8217 from elmiko/capi-readme-annotations
...
update cluster api provider readme
2025-06-10 10:18:30 -07:00
Jack Francis
67da65c813
Merge pull request #8219 from towca/jtuznik/drain-fix
...
Fix parsing --drain-priority-config
2025-06-10 10:11:26 -07:00
Kubernetes Prow Robot
a187bc14d6
Merge pull request #8213 from jackfrancis/azure-agent-pool-ut
...
azure: fix azure_agent_pool UT
2025-06-10 09:22:25 -07:00
Jack Francis
79114057db
azure: fix azure_agent_pool UT
...
Signed-off-by: Jack Francis <jackfrancis@gmail.com>
2025-06-10 08:55:51 -07:00
Kuba Tużnik
9e38ce69aa
Fix parsing --drain-priority-config
...
The --drain-priority-config flag was only parsed if isFlagPassed()
returned true for it. However, isFlagPassed() would actually silently
never work. The implementation relied on walking the flags parsed by
the standard Go "flag" pkg. This seems like it would work since CA
defines its flags using the standard "flag" pkg. However, the flags
are then actually parsed and processed by the "github.com/spf13/pflag"
pkg, so isFlagPassed() could never see them.
This commit replaces removes isFlagPassed() and replaces the calls
with a pkg-provided pflag.CommandLine.Changed(). Unit tests are added
to verify that the flag is correctly parsed after this change.
2025-06-10 16:54:43 +02:00
elmiko
9987e76e91
update cluster api provider readme
...
this change adds some notes about how the scale from zero annotations
will interact with information already present on cluster api resources.
2025-06-10 09:56:54 -04:00
Maksym Fuhol
f03a67ed81
Migrate DraSnapshot off PodOwnsClaim/ClaimOwningPod to DRA API IsForPod
2025-06-09 15:45:13 +00:00
Maksym Fuhol
0912f9b4fb
Add tests for Patch and PatchSet objects
2025-06-09 15:35:20 +00:00
Maksym Fuhol
eb48666180
Patches based implementation for DRA snapshot.
...
Instead of exposing DeepCloning API - dynamicresources.Snapshot now exposes Fork/Commit/Revert methods mimicking operations in ClusterSnapshot. Now instead of storing full-scale copies of DRA snapshot we are only storing a single object with patches list stored inside, which allows very effective Clone/Fork/Revert operations while sacrificing some performance and memory allocation while doing fetch requests and inplace objects modifications (ResourceClaims).
2025-06-09 15:35:19 +00:00
Maksym Fuhol
35029fed7a
Add PredicateSnapshot benchmark for scheduling with DRA objects.
2025-06-09 15:32:37 +00:00
dependabot[bot]
8a975ee130
Bump golang in /vertical-pod-autoscaler/pkg/admission-controller
...
Bumps golang from 1.24.3 to 1.24.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 18:54:44 +00:00
Marc Davoli
18a9339925
fix: add missing 'admission-controller-service' resource to 'vpa-process-yamls.sh' script
2025-06-06 14:46:37 -04:00
dependabot[bot]
836f0a078c
Bump golang in /vertical-pod-autoscaler/pkg/updater
...
Bumps golang from 1.24.3 to 1.24.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 18:39:05 +00:00
dependabot[bot]
919665f93d
Bump golang in /vertical-pod-autoscaler/pkg/recommender
...
Bumps golang from 1.24.3 to 1.24.4.
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.24.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-06-06 18:26:17 +00:00
Marco Voelz
18b96f2bc5
include pod namespace when logging updates
2025-06-06 14:44:08 +02:00
Kubernetes Prow Robot
3fdf196403
Merge pull request #8171 from maximrub/fix/bug-8170-alibaba-rrsa-old-envvar-support
...
fix bug 8170 to support old env var
2025-06-06 03:58:39 -07:00
Kubernetes Prow Robot
9220470d9f
Merge pull request #8188 from towca/jtuznik/tni-fix
...
CA: stop mutating the result of .TemplateNodeInfo() in SanitizedTemplateNodeInfoFromNodeGroup
2025-06-04 09:20:38 -07:00
Kubernetes Prow Robot
606aef22cb
Merge pull request #7852 from omerap12/migrate-ClaimOwningPod
...
migrate ClaimOwningPod to use upstream IsForPod
2025-06-04 06:24:38 -07:00
Kuba Tużnik
2f6c19a171
CA: stop mutating the result of .TemplateNodeInfo() in SanitizedTemplateNodeInfoFromNodeGroup
...
SanitizedTemplateNodeInfoFromNodeGroup() calls .TemplateNodeInfo(),
adds deprecated labels to the result, then sanitizes it - which includes
deep-copying.
This commit moves adding the deprecated labels after the sanitization
process, directly to the deep-copied result.
If .TemplateNodeInfo() caches its result internally, and is called
from a CloudProvider-specific goroutine at the same time as
SanitizedTemplateNodeInfoFromNodeGroup(), CA panics because of a
concurrent map read/write. This change removes the race condition.
2025-06-04 14:46:16 +02:00
Kubernetes Prow Robot
46bf4e4ace
Merge pull request #8202 from adrianmoisey/revert-8191-enable-flakey-tests
...
Revert "Enable TestUnchangedCAReloader tests"
2025-06-04 03:42:38 -07:00
Adrian Moisey
782af09511
Revert "Enable TestUnchangedCAReloader tests"
2025-06-04 12:36:29 +02:00