Commit Graph

134908 Commits

Author SHA1 Message Date
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
Richa Banker
c51a8734b1 Update documented metrics list 2025-09-16 11:52:14 -07:00
Patrick Ohly
aefd2effc5 test: automatically lower Ginkgo parallelism when using race detection
When race detection is enabled, merely running 25 e2e.test instances was too much
and the OOM killer shut down the Prow test pod because of the memory overhead.

A CI job could control that via GINKGO_PARALLEL_NODES, but we should also have
saner defaults which take this into account.
2025-09-16 20:25:53 +02:00
Aditi Gupta
479d78851a feat(apiextensions-apiserver): Add WithContext variant to EstablishingController
This change refactors the EstablishingController to add a new RunWithContext
method, which accepts a context.Context for cancellation and contextual
logging. The original Run method is preserved as a backward-compatible shim
that converts a stopCh to a context.

This is part of the broader effort to enable contextual logging across
all Kubernetes components.

Signed-off-by: Aditi Gupta <aditigpta@google.com>
2025-09-16 11:00:23 -07:00
Richa Banker
a3dae490bf ensure KMS plugin socket is removed before starting mock in 'encrypt all resources' test 2025-09-16 10:54:26 -07:00
Patrick Ohly
7a62519b36 E2E: treat data races in e2e suite as failures
Ginkgo itself doesn't do this, in which case prun-junit-xml drops the output
and Spyglass wouldn't show the test as failed. If the data race warning is
captured, we now treat that as the failure of a test if it hasn't already
failed for other reasons.

While at it, the entire report cleanup gets moved to our junit package.
2025-09-16 19:34:36 +02: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
rbiamru
1c41cb0550 fix gofmt 2025-09-16 00:46:26 -04:00
rbiamru
842d6d29fc test/e2e/node: promote ConfigMap update test to Conformance 2025-09-16 00:00:25 -04: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
Lalit Chauhan
1a5e77135b Add fine grained metrics to narrow down DV mismatches and panics 2025-09-16 00:36:14 +00:00
Kubernetes Prow Robot
8826364a57 Merge pull request #131483 from tallclair/kubeletconfig
Clean up pkg/kubelet/config
2025-09-15 15:54:07 -07:00
yongruilin
4db49d0f4e feat(validation): enhance slice validation with declarative options 2025-09-15 20:35:51 +00:00
Nick Rutigliano
4074be896b Record SyncTerminatingPod error and set error status on span when non-nil err returned
Signed-off-by: Nick Rutigliano <rutigliano.nick@gmail.com>
2025-09-15 13:34:35 -07:00
Hemant Kumar
f99cb99a1b Wait for quota to report used before creating pvc
This should avoid races between pvc creation and quota creation
2025-09-15 13:16:22 -04:00
Kubernetes Prow Robot
a4981e1cf3 Merge pull request #134007 from carlory/fix-128763
kubeadm: fix KUBEADM_UPGRADE_DRYRUN_DIR not honored in upgrade phase when writing kubelet config files
2025-09-15 06:48:11 -07:00
杨朱 · Kiki
8817dd6529 Update cmd/kubeadm/app/cmd/upgrade/node.go
Co-authored-by: Bing Hongtao <695097494plus@gmail.com>
2025-09-15 20:51:52 +08:00
Marek Siarkowicz
91a3a30eb5 Ensure consistent key schema requirements between cacher and etcd3 2025-09-15 14:25:19 +02:00
Kubernetes Prow Robot
aa35105213 Merge pull request #132703 from tchap/kcm-sync-api
kcm/app: Add proper goroutine management
2025-09-15 01:58:11 -07:00
Kubernetes Prow Robot
c10a2932d4 Merge pull request #133952 from pacoxu/fix-image-name
fix CI failure: update pod image using the same one
2025-09-15 00:32:10 -07:00
Amruthan Manjula Anandan
938b23879a test/e2e/node: add [NodeConformance] label to ConfigMap update test 2025-09-15 00:01:08 -04:00
Kubernetes Prow Robot
74c336734c Merge pull request #133840 from OsamaNabih/update-nautilus-agnhost-version-to-2_56
Update Nautilus test BASEIMAGES agnhost from 2.33 to 2.57
2025-09-14 19:58:08 -07:00
Kubernetes Prow Robot
f945dc402b Merge pull request #134047 from pohly/dra-e2e-node-metric-flake
DRA E2E node: fix test cleanup
2025-09-14 19:08:08 -07:00
carlory
5dac4ee169 Improve dry-run error messages for clarity 2025-09-15 09:56:13 +08:00
Osama Nabih
a825c72697 Update agnhost to version 2.57
Signed-off-by: Osama Nabih <nabih_the_4th@yahoo.com>
2025-09-14 18:43:59 +03:00
Kubernetes Prow Robot
58f2d96901 Merge pull request #134028 from richabanker/etcd-metrics-deprecation
Set the deprecated version=1.34.0 for apiserver_storage_objects metric
2025-09-14 01:42:07 -07:00
Kubernetes Prow Robot
08bf6408af Merge pull request #133800 from oyiz-michael/update-iscsi-volume-baseimage-fedora42
Update volume/iscsi base image from fedora:38 to fedora:42
2025-09-13 04:24:06 -07:00
胡玮文
e39ed4a4b4 scheduler/volumebinding: add test for PVAssumeCache 2025-09-13 19:23:03 +08:00
胡玮文
bbee7b9d6b scheduler/volumebinding: rename passive_assume_cache_test.go 2025-09-13 13:16:39 +08:00
胡玮文
4b0eff59c0 scheduler/volumebinding: target AssumeCache UT generic passiveAssumeCache
And removing duplicate tests
2025-09-13 13:15:24 +08:00