Commit Graph

132642 Commits

Author SHA1 Message Date
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
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
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
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
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
Kubernetes Prow Robot
ceebd156c4 Merge pull request #134054 from Peac36/fix/134040
fix incorrect warning whenever headless service is created/updated
2025-09-16 16:26:16 -07:00
Kubernetes Prow Robot
a13da6c541 Merge pull request #133519 from PersistentJZH/fix-memory-leaks-in-kubelet-podcertsmanager
fix race condition in kubelet's PodCertsManager
2025-09-16 16:26:09 -07:00
Kubernetes Prow Robot
053267ad36 Merge pull request #134024 from jack4it/jack4it/iifname
fix: use iifname for input interface name matches
2025-09-16 15:28:17 -07:00
Kubernetes Prow Robot
79af149f86 Merge pull request #133850 from yongruilin/vg_error-mismatch
refactor(DRA validation): Add granular controls for declarative validation migration
2025-09-16 15:28:10 -07:00
Aditi Gupta
af231d2153 Replace WaitForNamedCacheSync with WaitForNamedCacheSyncWithContext in pkg/controller/ 2025-09-16 14:51:34 -07:00
yongruilin
eca1cfb259 chore(validation): add validation identifier for declarative validation in ResourceClaim 2025-09-16 21:36:18 +00:00
yongruilin
c0fcb10acf fix(tests): update fake client initialization and add resource version handling in validation tests 2025-09-16 21:36:18 +00:00
yongruilin
7c45b1aa3b refactor: simplify declarative validation tests for ResourceClaim 2025-09-16 21:36:18 +00:00
yongruilin
380c4c222e feat(validation-gen): Add declarative validation support for ResourceClaim/(v1,v1beta1,v1beta2) 2025-09-16 21:36:18 +00:00
Davanum Srinivas
3fc0498d6e Bump distroless-iptables to v0.7.8 2025-09-16 17:16:06 -04:00
Kubernetes Prow Robot
6670489b2a Merge pull request #134065 from serathius/storage-recursive
Unify directory protection for recursive requests in storage
2025-09-16 13:48:17 -07:00
Kubernetes Prow Robot
12ddfaa5c7 Merge pull request #133984 from aditigupta96/add-context-to-waitfornamedcachesync
Replace WaitForNamedCacheSync with WaitForNamedCacheSyncWithContext in pkg/controller/garbagecollector
2025-09-16 13:48:10 -07:00
Joe Betz
fb184a9ff4 Update pkg/api/testing/OWNERS
Co-authored-by: Yongrui Lin <yongrlin@google.com>
2025-09-16 16:05:21 -04:00
Kubernetes Prow Robot
f42b497cf2 Merge pull request #133937 from lalitc375/k8s-dv-test-util
feat(testing): Add helpers for declarative validation tests
2025-09-16 12:24:10 -07:00
Lalit Chauhan
f5cd1a1664 Address tests grouping comment 2025-09-16 17:20:17 +00:00
Kubernetes Prow Robot
da8e035cb3 Merge pull request #133197 from rxinui/new/1748
new/1748: print the current kubectl command encapsulated by kuberc
2025-09-16 10:06:12 -07:00
Nikola
50ea1f870e fix incorrect warning whenever headless service is created/updated
Signed-off-by: Nikola <peac36@abv.bg>
2025-09-16 20:02:42 +03:00
Lalit Chauhan
92dcd02459 Add helpers for declarative validation tests
Introduces new testing helpers to simplify testing of declarative validation rules. The new `VerifyValidationEquivalence` and `VerifyUpdateValidationEquivalence` functions reduce boilerplate by encapsulating the logic for:

- Toggling the `DeclarativeValidation` and `DeclarativeValidationTakeover` feature gates.
- Comparing the validation output from the imperative and declarative paths.

The declarative validation tests for CertificateSigningRequest and ReplicationController are updated to use these new, simpler helpers.
2025-09-16 16:57:21 +00:00
Marek Siarkowicz
74faf1527f Unify directory protection for recursive requests in storage 2025-09-16 18:46:56 +02:00
rxinui
cbb7b29bc2 print the current kubectl command encapsulated by kuberc on V(1)
Signed-off-by: rxinui <rainui.ly@gmail.com>
2025-09-16 18:09:35 +02:00
Kubernetes Prow Robot
d1af46054f Merge pull request #133605 from JoelSpeed/enable-conditions-kal
Enforce API conventions around Conditions fields via Kube API Linter
2025-09-16 08:08:13 -07:00
Joe Betz
3799b8bf6a Add reviewers and approvers to api/testing 2025-09-16 10:25:56 -04:00
Kubernetes Prow Robot
118fee7b76 Merge pull request #134071 from gnufied/fix-quota-race-volume-expansion
Wait for quota to report used before creating pvc
2025-09-16 05:54:13 -07:00
Kubernetes Prow Robot
b40d570248 Merge pull request #133988 from bart0sh/PR199-migrate-kubelet-certificate-to-contextual-logging
migrate kubelet/certificate to contextual logging
2025-09-16 02:24:12 -07:00
Kubernetes Prow Robot
f8f1e49f3b Merge pull request #134020 from lalitc375/cherry-pick-pr-169
Add support for k8s-label-key and k8s-label-value for Declarative validations
2025-09-15 20:40:07 -07:00
Kubernetes Prow Robot
09278c1292 Merge pull request #133946 from lalitc375/k8s-dv-metrics
Add fine grained metrics to narrow down DV mismatches and panics
2025-09-15 19:44:09 -07:00