Commit Graph

132620 Commits

Author SHA1 Message Date
Lubomir I. Ivanov
9d4b91dbd8 kubeadm: cleanup after ControlPlaneKubeletLocalMode 2025-09-18 18:37:23 +02:00
Lubomir I. Ivanov
56a4306fed kubeadm: graduate ControlPlaneKubeletLocalMode to GA 2025-09-17 15:02:00 +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
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
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
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
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
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
Aditi Gupta
1ce12710ec refactor(controller): Use context-aware WaitForNamedCacheSync in resourcequota and HPA tests 2025-09-12 12:37:54 -07:00
Joel Speed
d2ba13dac9 Add exceptions for existing issues for conditions linter 2025-09-12 18:07:54 +01:00