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
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
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
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
Kubernetes Prow Robot
8b9624d7f1
Merge pull request #8185 from kubernetes/x13n-patch-11
...
Remove stale TODO
2025-06-04 01:30:38 -07:00
Thalia Wang
70f79316f6
Add VMs implementation to master ( #8078 )
2025-06-03 14:40:39 -07:00
Omer Aplatony
bcf3866fb8
migrate ClaimOwningPod to use upstream IsForPod
...
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-06-03 15:45:20 +00:00
Kubernetes Prow Robot
daa15703a6
Merge pull request #8178 from elmiko/cleanup-capi-readme
...
cleanup capi readme note sections
2025-06-03 08:36:41 -07:00
Kubernetes Prow Robot
110cb78422
Merge pull request #8197 from hetznercloud/deps-update-hcloud-go
...
deps(hetzner): update vendored hcloud-go to v2.21.1
2025-06-03 03:14:43 -07:00
lukasmetzner
2a9103ea4c
refactor(hetzner): fix deprecated methods
2025-06-03 11:54:01 +02:00
lukasmetzner
53f7463ee6
deps(hetzner): update hcloud-go to v2.21.1
2025-06-03 11:52:48 +02:00
Kubernetes Prow Robot
347db2d102
Merge pull request #8194 from laoj2/master
...
Update VPA default version to 1.4.1 (main branch)
2025-06-02 13:18:41 -07:00
Luiz Oliveira
fc8599b820
Update VPA default version to 1.4.1 (main branch)
...
Signed-off-by: Luiz Oliveira <luizaoj@google.com>
2025-06-02 14:41:04 -04:00
Kubernetes Prow Robot
8ae1ad7343
Merge pull request #8192 from adrianmoisey/fix-github-action-caching
...
Fix the setup-go Github action caching
2025-06-02 08:14:38 -07:00
Adrian Moisey
4c154a7da8
Bump to Go 1.24
2025-06-02 16:25:44 +02:00
Adrian Moisey
e1cb498992
Fix the setup-go Github action caching
...
I noticed that the Github Action caching wasn't working, so I added this
setting to fix it.
https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
If the cache is populated the tests now take 5 minutes to run (down from
18m).
The one downside is that caching will also cache the test results (along
with the dependencies) so this change adds a `--count=1` to the `go
test` commands to ensure that the go test doesn't use a cached result.
2025-06-02 09:59:01 +02:00
Mohammad Torkamandehnavi
abe3e86e90
chore: 🔧 Update image version to v1.32.1
2025-06-01 14:47:57 +01:00
Mohammad Torkamandehnavi
e79b5b8635
fix: 🐛 Fix failed to watch *v1.VolumeAttachment in another example files
2025-06-01 14:46:48 +01:00
Kubernetes Prow Robot
c0443a7e7c
Merge pull request #8191 from adrianmoisey/enable-flakey-tests
...
Enable TestUnchangedCAReloader tests
2025-05-31 22:02:16 -07:00
Adrian Moisey
8d90da9ac5
Enable TestUnchangedCAReloader tests
2025-05-31 14:39:55 +02:00
Kubernetes Prow Robot
2511e4485c
Merge pull request #8164 from MenD32/fix/hard-topology-spread-constraints-stop-scaledown
...
fix: Cluster Autoscaler not scaling down nodes where Pods with hard topology spread constraints are scheduled
2025-05-30 06:12:19 -07:00
Kubernetes Prow Robot
e69b1a90d0
Merge pull request #8182 from vitanovs/feat/update-quickstart-guide-with-in-place-update-mode-details
...
docs(vpa): Add `InPlaceOrRecreate` to `quickstart` guide `updateMode`(s) list
2025-05-29 12:32:17 -07:00
Stoyan Vitanov
d49fb8672d
docs(vpa): Label `InPlaceOrRecreate` mode as an `alpha feature` in `quick start` guide
...
This commit adds a dedicated `alpha feature` suffix to `InPlaceOrRecreate`
updateMode to indicate that the option is not available by default and
requires additional setup to enable it.
Also:
- Include reference to the `features.md` documentation to bring
additional context to the reader and point them to the feature
details.
2025-05-29 17:41:02 +03:00
Daniel Kłobuszewski
a361d25ce6
Remove stale TODO
...
We had async node drain for years now.
2025-05-29 16:29:58 +02:00
Stoyan Vitanov
d69fa69882
docs(vpa): Update the number of supported updateModes in quick start guide
2025-05-29 15:44:00 +03:00
Stoyan Vitanov
c54764998b
docs(vpa): Remove redundant mention of `in-place` updates in `"Recreate"` updateMode
...
This commit removes the redundant mention of `in-place` updates being
available with `"Auto"` update mode as that's not the case with the
current `v1.4.0` version of `VPA`.
2025-05-29 15:02:29 +03:00
Stoyan Vitanov
3a1842b83b
docs(vpa): Remove redundant `in-place` reference from `"Auto"` updateMode
...
This commit removes the now redundant mention of `in-place`
capability from `"Auto"` as the currently released version `v1.4.0` does
not instrument `in-place` updates as an `"Auto"` default strategy.
As of now, `"Auto"` preserves it's behavior to perform `"Recreate"` when
specified.
There is a separate `updateMode` (the `"InPlaceOrRecreate"`) specified
within the `quickstart.md` guide that handles `in-place` updates.
2025-05-29 12:23:43 +03:00
Daniel Kłobuszewski
9c501ed6b9
Update Cluster Autoscaler release schedule ( #8174 )
...
* Update Cluster Autoscaler release schedule
* Swap jackfrancis & gjtempleton shifts
2025-05-29 02:18:18 -07:00
Stoyan Vitanov
6250a5169c
docs(vpa): Add `InPlaceOrRecreate` updateMode details to `quickstart` guide
...
This commit adds an entry for the `InPlaceOrRecreate` _updateMode_ that got
introduced as part of the `v1.4.0` release.
2025-05-29 11:45:24 +03:00
Kubernetes Prow Robot
aed9602edf
Merge pull request #8179 from laoj2/fix-kustomization
...
Add admission controller service to kustomization
2025-05-28 13:48:17 -07:00
Luiz Antonio
69f24464fa
Add admission controller service to kustomization
2025-05-28 16:27:43 -04:00
elmiko
6063b5fa17
cleanup capi readme note sections
...
make all those section look the same.
2025-05-28 15:58:10 -04:00
Kubernetes Prow Robot
05008b2488
Merge pull request #8050 from HadrienPatte/instance-types
...
CA - AWS - May25 Instance Update
2025-05-28 08:46:18 -07:00