Commit Graph

132670 Commits

Author SHA1 Message Date
Swagat Bora
9d5ddd9fac change klog to log volume name instead of entire spec in GetDeviceMountPath
Signed-off-by: Swagat Bora <sbora@amazon.com>
2025-09-18 23:47:06 +00:00
Kubernetes Prow Robot
a742db1bf6 Merge pull request #134093 from yongruilin/master_resource_ratcheting
refactor: skip re-validating for unchanged resource claim specs
2025-09-18 15:24:18 -07:00
Kubernetes Prow Robot
725c9153df Merge pull request #134078 from aaron-prindle/vg-enable-deviceclass
feat(validation-gen) enable declarative validation for resource.k8s.io DeviceClass
2025-09-18 15:24:12 -07:00
Kubernetes Prow Robot
2c35d03ce6 Merge pull request #134132 from skitt/golangci-lint-2.4.0
Bump golangci-lint to 2.4.0
2025-09-18 13:10:18 -07:00
Kubernetes Prow Robot
b35407ea7f Merge pull request #134089 from pacoxu/bump-system-validator-v1.10.2
bump system-validators to v1.11.1
2025-09-18 13:10:11 -07:00
Kubernetes Prow Robot
203793fe65 Merge pull request #134094 from lalitc375/cherry-pick-pr-171
Add support for k8s-long-name-caseless format.
2025-09-18 11:22:10 -07:00
Kubernetes Prow Robot
b4943a9dc9 Merge pull request #134104 from aditigupta96/refactor-cloud-node-controllers
refactor(controller): Use WithContext variants in cloud node controllers
2025-09-18 10:32:22 -07:00
Kubernetes Prow Robot
26a8a04ff8 Merge pull request #134061 from aditigupta96/contextual-logging-establishing-controller
feat(apiextensions-apiserver): Add WithContext variant to EstablishingController
2025-09-18 10:32:14 -07:00
Kubernetes Prow Robot
5def66bc46 Merge pull request #134130 from ardaguclu/remove-openapi-fg
Remove KUBECTL_OPENAPIV3_PATCH feature gate as the feature is stable
2025-09-18 08:04:23 -07:00
Kubernetes Prow Robot
d7bd2b0343 Merge pull request #134030 from richabanker/update-metrics-docs
Update metrics docs list for v1.34
2025-09-18 08:04:15 -07:00
Stephen Kitt
c3a26a066d Bump golangci-lint to 2.4.0
This adds support for Go 1.25. There are no changes to the linting
results.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-09-18 16:20:34 +02:00
Kubernetes Prow Robot
dbc7fe1b7f Merge pull request #134129 from hjchoi0330/fix-typo
fix: duplicated 'the' in comment
2025-09-18 05:29:45 -07:00
Heba
36e3adf318 Add e2e test for MaxUnavailable StatefulSet RollingUpdate (#133717)
* Add e2e test for MaxUnavailable rolling update

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Update test/e2e/apps/statefulset.go

Co-authored-by: Maciej Szulik <soltysh@gmail.com>

* Adress feedback comments

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* address feedback

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* expose poll interval as a param

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Update test/e2e/apps/statefulset.go

Co-authored-by: Maciej Szulik <soltysh@gmail.com>

* Update test/e2e/framework/statefulset/wait.go

Co-authored-by: Maciej Szulik <soltysh@gmail.com>

* fix pollinterval

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* update time duration style

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

---------

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Co-authored-by: Maciej Szulik <soltysh@gmail.com>
2025-09-18 03:53:42 -07:00
Arda Güçlü
9382fa8b70 Remove KUBECTL_OPENAPIV3_PATCH feature gate as the feature is stable 2025-09-18 12:30:09 +03:00
hojinchoi
7028ba09db fix: duplicated 'the' in comment 2025-09-18 18:11:44 +09:00
Paco Xu
d7a2793fa6 bump system-validators to v1.11.1 2025-09-18 15:48:36 +08:00
Kubernetes Prow Robot
11ade2f7dd Merge pull request #133492 from BenTheElder/gomax-procs-125
drop automaxprocs hacks now that go 1.25 handles this built in
2025-09-17 22:12:07 -07:00
Kubernetes Prow Robot
d3cb6b539d Merge pull request #133178 from liggitt/psa-emulation
make admission and pod-security-admission checks be informed by emulation version
2025-09-17 17:22:07 -07:00
Benjamin Elder
88d6e6c465 drop automaxprocs hacks now that go 1.25 handles this built in
https://go.dev/doc/go1.25#container-aware-gomaxprocs
2025-09-17 16:36:15 -07:00
Kubernetes Prow Robot
0ca861d5ed Merge pull request #134120 from BenTheElder/golang-language-125
Upgrade go language version to 1.25
2025-09-17 16:34:18 -07:00
Kubernetes Prow Robot
d7745fe081 Merge pull request #132259 from serathius/watchcache-test-all
Test requests send to etcd for all LIST requests
2025-09-17 16:34:11 -07:00
Kubernetes Prow Robot
2bc915c012 Merge pull request #134121 from BenTheElder/dep-work
add go.work, go.work.sum to dep-approvers file list
2025-09-17 15:02:07 -07:00
Benjamin Elder
563d4d651c bump go language version to 1.25 2025-09-17 14:56:07 -07:00
yongruilin
f8d2df0f74 refactor: skip re-validating for unchanged resource claim specs 2025-09-17 21:47:45 +00:00
Benjamin Elder
9ca4ddf969 add go.work.sum to dep-approvers file list 2025-09-17 14:12:48 -07:00
Benjamin Elder
c8d3b3fdd3 add go.work to dep-approvers file list
go.work is related to dependency management, and may need updating at the same time as go.sum/go.dod
2025-09-17 14:00:14 -07:00
Kubernetes Prow Robot
ec4e321f00 Merge pull request #134072 from yongruilin/master_vg_enable-resourceclaim
Enable Declarative Validation for resource.k8s.io v1/v1beta1/v1beta2
2025-09-17 12:50:14 -07:00
Kubernetes Prow Robot
2c20282928 Merge pull request #133715 from cici37/MAPStorageVersionUpdate
Update MAP storage version to use v1beta1
2025-09-17 12:50:07 -07:00
Jordan Liggitt
4b0eeeb618 Make pod-security-admission honor emulation version 2025-09-17 15:32:32 -04:00
Jordan Liggitt
7f4ee652ea Delete temporary ProbeHostPodSecurityStandards feature gate 2025-09-17 15:23:32 -04:00
Jordan Liggitt
55419eca7a Plumb effective version into admission initializer 2025-09-17 15:23:31 -04:00
Lalit Chauhan
67632f8229 Add support for k8s-long-name-caseless format. 2025-09-17 18:32:56 +00:00
Kubernetes Prow Robot
ae5d650460 Merge pull request #134095 from dims/bump-to-golang-1.25.1-based-images
[go] Bump dependencies, images and versions used to Go 1.25.1 and distroless iptables
2025-09-17 11:26:17 -07:00
Kubernetes Prow Robot
c23d1ac668 Merge pull request #133401 from bart0sh/PR192-dra-e2e-node-test-connection-reuse
e2e_node: test DRA plugin gRPC connection reuse
2025-09-17 11:26:10 -07:00
Aaron Prindle
17665a39cf feat(validation-gen) enable declarative validation for resource.k8s.io DeviceClass 2025-09-17 17:21:19 +00:00
Kubernetes Prow Robot
da92891c7c Merge pull request #134041 from serathius/storage-resource-prefix4
Ensure keys used in storage and cacher start with resourcePrefix
2025-09-17 09:34:11 -07:00
Ed Bartosh
871f87eaec e2e_node: test DRA plugin gRPC connection reuse
Added e2e_node test to verify that the Kubelet establishes only
a single gRPC connection with the DRA plugin for all service calls
during the plugin lifecycle.
The test uses a custom listener to count accepted connections and
asserts that only one connection is used for NodePrepareResources,
NodeUnprepareResources, and NodeWatchResources calls.
2025-09-17 19:15:01 +03:00
Marek Siarkowicz
6d5aece4d8 Ensure keys used in storage and cacher start with resourcePrefix 2025-09-17 17:45:22 +02:00
Kubernetes Prow Robot
f9a55d78c7 Merge pull request #134109 from serathius/storage-prepare-key
Extract the prepareKey function
2025-09-17 08:38:12 -07:00
Marek Siarkowicz
0b10735cd7 Extract the prepareKey function 2025-09-17 16:41:27 +02:00
Marek Siarkowicz
709280ef6e Test requests send to etcd for all LIST requests 2025-09-17 16:20:04 +02:00
Edwin Hernandez
fa9071302f Adding metrics for Maxunavailable feature in StatefulSet (#130951)
* adding maxunavailable_violation metric

added metric to list of stable metrics

changed when metric gets incremented

addressed comments

fixed stable metrics list

* Update pkg/controller/statefulset/metrics/metrics.go

Co-authored-by: Filip Křepinský <fkrepins@redhat.com>

* Update the metric and log verbosity level

* Address false positives metric count

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Implement maxUnavailable and UnavailableReplicas metrics

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* fix lint fmt

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* update tests

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* se metrics to 1 as a default

* log for true validation only and update func sig.

* Move maxUnavailable metric to the updateStatefulSetStatus

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* change metrics stability level to Alpha

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* fix unit test

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* fix linting issue

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

* Address code review feedback

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>

---------

Signed-off-by: Heba Elayoty <heelayot@microsoft.com>
Co-authored-by: Filip Křepinský <fkrepins@redhat.com>
Co-authored-by: Heba Elayoty <heelayot@microsoft.com>
2025-09-17 05:34:14 -07:00
Aditi Gupta
f58d1e101f refactor(controller): Use WithContext variants in cloud node controllers
This change refactors the cloud-specific versions of the node lifecycle
and node IPAM controllers to use a context.Context for cancellation and
contextual logging, replacing the legacy stopCh pattern.

This is a follow-up to PR #133985, where these controllers were
separated out due to their use in the legacy Cloud Controller Manager
(CCM).

It is a known issue that the CCM's startup logic does not pass the
controller name via the context. This change proceeds with the
refactoring to unify the cancellation logic across controllers, while
acknowledging that contextual logs will be less detailed when these
controllers are run in the CCM.

Signed-off-by: Aditi Gupta <aditigpta@google.com>
2025-09-17 00:17:38 -07:00
Michael
69aca29e6d Update kitten base image from agnhost:2.33 to agnhost:2.57 (#133818)
* Update kitten base image from agnhost:2.33 to agnhost:2.56

- Update BASEIMAGE from agnhost:2.33 to agnhost:2.56 for all platforms
- Bump VERSION from 1.7 to 1.8
- Addresses issue #131874 for updating outdated base images

agnhost:2.56 is the latest version providing updated functionality
and security fixes for the kitten test image.

* Update kitten base image from agnhost:2.56 to agnhost:2.57

- Update BASEIMAGE to use latest agnhost:2.57 across all platforms
2025-09-16 22:36:10 -07:00
Kubernetes Prow Robot
a3bfeca891 Merge pull request #133728 from Frank-svg-dev/master
Fix the spelling error of grpc in the log
2025-09-16 20:00:09 -07:00
Davanum Srinivas
6dbc13fd13 Bump to go1.25.1 based images 2025-09-16 22:42:29 -04:00
Kubernetes Prow Robot
625cb3c8f1 Merge pull request #134067 from serathius/storage-key
Ensure consistent key schema requirements between cacher and etcd3
2025-09-16 17:18:24 -07:00
Kubernetes Prow Robot
69e92c6827 Merge pull request #134022 from aditigupta96/cleanup-waitfornamedcachesync
refactor(controller): Use context-aware WaitForNamedCacheSync in resourcequota and HPA tests
2025-09-16 17:18:16 -07:00
Kubernetes Prow Robot
d03d25f47c Merge pull request #133985 from aditigupta96/api-waitfornamedcachesync-with-context
Replace WaitForNamedCacheSync with WaitForNamedCacheSyncWithContext in pkg/controller/
2025-09-16 17:18:09 -07:00
Kubernetes Prow Robot
7bbea380f4 Merge pull request #134085 from jpbetz/patch-9
Add reviewers and approvers to api/testing
2025-09-16 16:26:24 -07:00