Commit Graph

132595 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Kubernetes Prow Robot
c475dd271b Merge pull request #134014 from toVersus/fix/downward-api-flake
deflake e2e tests: Pod Level Resources Downward API
2025-09-12 15:24:06 -07:00
Kubernetes Prow Robot
bd1288e000 Merge pull request #134043 from HirazawaUi/remove-container-name
Remove container name from container event messages
2025-09-12 13:24:14 -07:00
Kubernetes Prow Robot
b7f44cfc17 Merge pull request #134042 from Karthik-K-N/fix-node-test
Explicitly set TerminationGracePeriodSeconds for mirror pod
2025-09-12 13:24:07 -07:00
Joel Speed
d2ba13dac9 Add exceptions for existing issues for conditions linter 2025-09-12 18:07:54 +01:00
Joel Speed
894d724f98 Enable conditions linter for Kube API Linter 2025-09-12 18:06:55 +01:00
Joel Speed
e3b08f9871 Update KAL to latest and add shadow config for new options 2025-09-12 18:06:17 +01:00
Lalit Chauhan
af6b3ed1f5 Add support for k8s-label-key 2025-09-12 16:52:04 +00:00
Lalit Chauhan
aa0c5960ed Add support for k8s-label-value format. 2025-09-12 16:52:03 +00:00
Patrick Ohly
8fed05c5b7 DRA E2E node: fix test cleanup
dd9917ddce fixed one test which did not wait for
pods to be deleted and then, depending on the timing, left ResourceClaims
prepared because the driver stopped before kubelet could call
NodeUnprepareResources.

But this is a more systematic issue also with other tests, so now the any test
which starts a DRA plugin automatically uses the same common cleanup code:
- delete pods in the test names
- wait for the driver to not have any active ResourceClaims
- stop the driver
2025-09-12 18:43:35 +02:00
Kubernetes Prow Robot
118e833a0d Merge pull request #133687 from soltysh/drop_PodIndexLabel
Drop PodIndexLabel after the feature GA-ed in 1.32
2025-09-12 07:30:11 -07:00
Kubernetes Prow Robot
87e4239474 Merge pull request #134015 from serathius/storage-resource-prefix5
Fix cacher resource prefix not having a "/" at the end in tests
2025-09-12 06:38:16 -07:00
Kubernetes Prow Robot
405c10f1c0 Merge pull request #133989 from carlory/fix-133986
deflake unit test: TestIsConnectionReset
2025-09-12 06:38:09 -07:00
HirazawaUi
09ab06b423 Remove container name from container event messages 2025-09-12 20:00:55 +08:00
Kubernetes Prow Robot
0e812b5efe Merge pull request #133624 from serathius/watch-flake
Fix flaking RunTestDelayedWatchDelivery
2025-09-12 04:10:08 -07:00
Kubernetes Prow Robot
08bc37c755 Merge pull request #134021 from pohly/scheduler-perf-gc
scheduler_perf: run garbage collection before measurement
2025-09-12 03:18:15 -07:00
Kubernetes Prow Robot
601068b889 Merge pull request #134018 from tico88612/cleanup/new-indexer-informer-watcher-replace
Replace NewIndexerInformerWatcher with NewIndexerInformerWatcherWithLogger
2025-09-12 03:18:08 -07:00
Karthik Bhat
4e907fad15 Explicitly set TerminationGracePeriodSeconds for mirror pod 2025-09-12 15:16:31 +05:30
Kubernetes Prow Robot
f2ef1c4d08 Merge pull request #133917 from n2h9/133916-fix-cert-key-files-data-validation-error
[client-go] [cli-runtime] [133916]: fix config override logic when override provides ClientKey, ClientCertificate
2025-09-12 02:26:09 -07:00
Marek Siarkowicz
1e742f01ba Fix cacher resource prefix not having a "/" at the end in tests 2025-09-12 11:07:23 +02:00
Marek Siarkowicz
1baa7936d8 Fix flaking RunTestDelayedWatchDelivery 2025-09-12 09:11:11 +02:00
Kubernetes Prow Robot
7104c1e426 Merge pull request #134017 from mochizuki875/standardize_not_found_error_of_kubectl_scale
Standardize not found error message of kubectl scale
2025-09-11 22:38:13 -07:00
Kubernetes Prow Robot
f51cca2527 Merge pull request #133923 from maxcelant/store-index-set
Replace deprecated sets.String with sets.Set in client-go/tools/*
2025-09-11 22:38:06 -07:00
Kubernetes Prow Robot
2d9ffdfec1 Merge pull request #134006 from pacoxu/kubelet-config-e2e
node_e2e: fix kubelet configuration setup
2025-09-11 20:08:06 -07:00
Kubernetes Prow Robot
44544abdc7 Merge pull request #133612 from michaelasp/discoveryCheck
feat: Add discovery check to SVM to ensure migration doesn't get stuck
2025-09-11 18:32:07 -07:00
Paco Xu
455a437674 node_e2e: fix kubelet configuration setup 2025-09-12 09:26:17 +08:00
Max Celant
c08b9ab3b5 Replace deprecated sets.String with sets.Set for Index type
updating to include initialization in func

Update store to use sets.Set

updating tests to use sets.New instead of sets.NewString

update store_test

update index_test

update controller_test file

update delta_fifo file

update expiration_cache_fakes file

update index_test file

update thread_safe_store file

update events_cache file

update thread_safe_store_test

update expiration_cache_test

small refactor of for loop

unexport the Index type -> index
2025-09-11 20:08:55 -05:00