Commit Graph

128659 Commits

Author SHA1 Message Date
Joe Betz
df9d5f0bf8 Clarify ordering requirements of client-gen --input 2025-02-28 18:56:43 -05:00
Kubernetes Prow Robot
d496b6c49c
Merge pull request #130497 from DamianSawicki/replace-kl52752-DS-2
Update dns OWNERS in line with kubernetes/dns
2025-02-28 15:30:55 -08:00
Kubernetes Prow Robot
d04883c90c
Merge pull request #130061 from mimowo/make-backoffperindex-stable
Graduate Backoff Limit Per Index as stable
2025-02-28 13:37:02 -08:00
Kubernetes Prow Robot
2fc329c857
Merge pull request #129334 from serathius/streaming-json-list-encoder
Streaming json list encoder
2025-02-28 13:36:55 -08:00
Antonio Ojea
e43de183cf conntrack reconciler must check the dst port
The conntrack reconciler maintains the consistency between the
conntrack table on each node and the desired state of Kubernetes UDP services.

A valid entry matches a service's ClusterIP, LoadBalancerIP, or ExternalIP and Service port,
or any ip matching a NodePort, and has a reverse source IP matching an active endpoint for
that service. Other entries are deleted.

Services without endpoints and traffic not handled by kube-proxy are ignored

Co-authored-by: Daman Arora <aroradaman@gmail.com>
2025-02-28 21:14:06 +00:00
Morten Torkildsen
7fcaaa08ee Run make update 2025-02-28 20:59:31 +00:00
Morten Torkildsen
e2d1fcc162 Addressed comments 2025-02-28 20:47:35 +00:00
zylxjtu
3d318b57e3 revert the old loop to check if the node is rebooted 2025-02-28 19:39:21 +00:00
Morten Torkildsen
7555cbca90 DRA: Updates the e2e tests for Prioritized Alternatives in Device Requests 2025-02-28 19:33:20 +00:00
Morten Torkildsen
36d8a44b9c DRA: Update controller for Prioritized Alternatives in Device Requests 2025-02-28 19:32:59 +00:00
Kubernetes Prow Robot
01ed8ed4ff
Merge pull request #130474 from dims/bump-x/crypto-and-x/oauth2
Bump x/oauth2 and x/crypto
2025-02-28 11:31:03 -08:00
Kubernetes Prow Robot
3560950041
Merge pull request #130254 from tallclair/allocation-manager-2
[FG:InPlacePodVerticalScaling] Move pod resource allocation management out of the status manager
2025-02-28 11:30:56 -08:00
Morten Torkildsen
2229a78dfe DRA: Update allocator for Prioritized Alternatives in Device Requests 2025-02-28 19:30:10 +00:00
Morten Torkildsen
cc35f9b8e8 DRA: Update quota calculations for Prioritized Alternatives in Device Requests 2025-02-28 19:29:32 +00:00
Morten Torkildsen
a716095a8a DRA: Update validation for Prioritized Alternatives in Device Requests 2025-02-28 19:28:50 +00:00
Morten Torkildsen
68040a3173 Run make update 2025-02-28 19:28:26 +00:00
Morten Torkildsen
8f7b43b6fd DRA: Update types and defaults for Prioritized Alternatives in Device Requests 2025-02-28 19:13:48 +00:00
Morten Torkildsen
0faebe30fd DRA: Add DRAPrioritizedList feature gate for Prioritized Alternatives in Device Requests 2025-02-28 19:13:18 +00:00
Hanchi Zhang
0d7c9aa816 Prevent node-problem-detector from being scheduled on Windows nodes. 2025-02-28 19:03:00 +00:00
DamianSawicki
ac0b30db6d
Update dns OWNERS in line with kubernetes/dns 2025-02-28 18:59:40 +01:00
Natasha Sarkar
f91105a77e fix prep and validation for pod subresource updates 2025-02-28 16:51:10 +00:00
Tim Hockin
c8111709e5
Add an error matcher, convert 2 tests
I fixed up the TestValidateEndpointsCreate path to show the matcher
instead of manual origin checking.

I picked TestValidateTopologySpreadConstraints because it was the last
failing test on my screen when I changed on of the commonly hard-coded
error strings. I fixed exactly those validation errors that were needed
to make this test pass.  Some of the Origin values can be debated.

The `field/testing.Matcher` interface allows tests to configure the
criteria by which they want to match expected and actual errors.  The
hope is that everyone will use Origin for Invalid errors.

There's some collateral impact for tests which use exact-comparisons and
don't expect origins.  These are all candidates for using the matcher.
2025-02-28 08:36:26 -08:00
Kubernetes Prow Robot
ef1c659569
Merge pull request #130291 from Jefftree/cle-beta
LeaseCandidate v1beta1 API
2025-02-28 08:26:56 -08:00
Jan Safranek
052f1fe820 Update tests 2025-02-28 16:42:20 +01:00
Shereen Haj
8a1057a804 test: sched: replace pointer use with ptr
As `pointer` functions are deprecated, replace those functions calls
with `ptr.To`.

Fixes: https://github.com/kubernetes/kubernetes/issues/130408

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
2025-02-28 17:24:19 +02:00
YamasouA
486d12efc5 call cleanup func position change 2025-03-01 00:14:49 +09:00
Kubernetes Prow Robot
a552570d2c
Merge pull request #129946 from alex-petrov-vt/iss-129907
fix(pod/util): fix typo in getting pod validation options
2025-02-28 07:09:04 -08:00
Kubernetes Prow Robot
c92dde6941
Merge pull request #129338 from pohly/log-client-go-certificates
client-go certificate: context-aware APIs and logging
2025-02-28 07:08:57 -08:00
YamasouA
bee19638f1 tweak 2025-02-28 22:45:01 +09:00
Kubernetes Prow Robot
88d2355c41
Merge pull request #129951 from parkjeongryul/add-e2e-topology-manager-for-init-ctn
Add e2e test for topology manager with restartable init containers
2025-02-28 04:38:23 -08:00
Marek Siarkowicz
e7c743b2eb Streaming JSON encoder for List 2025-02-28 13:33:36 +01:00
Jan Safranek
a86cca4e18 Improve error reporting of KCM metrics
Show what is a test waiting for and make sure the metric name + label
appears in the timeout error.
2025-02-28 13:01:00 +01:00
Patrick Ohly
f9051901ce client-go certificate: context-aware APIs and logging
For NewManager, the Config struct gets changed (not extended!) so that the
caller can provide a logger instead of just a logging function. Breaking the
API was chosen because it avoids having to maintain two different log calls in
various places (one for printf-style logging, one for structured logging).

RequestCertificateWithContext is an extension. It enables getting rid of
context.TODO calls.

NewFileStoreWithLogger also is an extension.
2025-02-28 10:37:06 +01:00
Tim Hockin
6b7e38f018
Fix nits from PR 130355 2025-02-28 00:06:11 -08:00
Kubernetes Prow Robot
803e9d6495
Merge pull request #130355 from yongruilin/validation_origin
validation: Add Origin field to field.Error for more precise error tracking
2025-02-28 00:04:23 -08:00
yongruilin
c7cf852086 test: Add Origin field support to ReplicationController spec.Replicas validation test 2025-02-28 06:56:02 +00:00
yongruilin
07477c656e test: convert ValidateEndpointsCreate to use error Origin field in test
Update ValidateEndpointsCreate validation tests to use the new Origin field for more precise error comparisons. It leverage the Origin field instead of detailed error messages, improving test robustness and readability.

Co-authored-by: Tim Hockin <thockin@google.com>
2025-02-28 06:55:58 +00:00
Kubernetes Prow Robot
60d0d67fef
Merge pull request #130401 from ryota-sakamoto/fix-nftables-skip-kernel-check
Fix kernel version check condition in nftables proxier
2025-02-27 18:50:36 -08:00
Kubernetes Prow Robot
a0be82d80d
Merge pull request #128987 from Henrywu573/kubescheduler_statuz
Add statusz endpoint for kube-scheduler
2025-02-27 18:50:29 -08:00
Alex Petrov
f63359efb0 fix(pod/util): typos in getting pod validation options
Before, containers with the PostStart sleep lifecycle hook would cause
null pointer panics due to a typo in the field name being checked. This
commit fixes that.

The check also needs to be done on the oldPodSpec, rather than the
podSpec, so that existing workloads which use the zero value continue
functioning in the same way.
2025-02-27 19:25:14 -05:00
Kubernetes Prow Robot
a743616631
Merge pull request #129583 from carlory/promote-HonorPVReclaimPolicy-GA
promote HonorPVReclaimPolicy to GA
2025-02-27 15:16:30 -08:00
Mark Rossetti
5eb37b073c
Fixing k8s.io/kubernetes/pkg/util/filesystem unit tests for Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-27 13:50:24 -08:00
Aaron Prindle
3010618efe feat: add DeclarativeValidation and DeclarativeValidationMismatchMetric feature gates 2025-02-27 20:53:00 +00:00
Davanum Srinivas
c3de5b707e
Do not look for SSH external IP for NFSPersistentVolumes tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-02-27 15:51:05 -05:00
Kubernetes Prow Robot
807d22f052
Merge pull request #130473 from dims/ensure-we-switch-to-k8s-root-directory-for-dockerized-builds-during-e2e-node-ci-job
Ensure we switch to k8s root directory for dockerized builds during e2e-node ci job
2025-02-27 10:32:30 -08:00
Jefftree
2d10dec3a2 generated 2025-02-27 17:50:36 +00:00
Jefftree
ac7a95efb0 LeaseCandidate alpha -> beta, 2025-02-27 17:50:36 +00:00
Kubernetes Prow Robot
9fe95e7586
Merge pull request #130398 from gnufied/add-progress-tracking-permission-change
Add progress tracking permission change
2025-02-27 09:10:37 -08:00
Kubernetes Prow Robot
b8c95e1954
Merge pull request #129688 from cpanato/update-main-go124
[go] Bump images, dependencies and versions to go 1.24.0
2025-02-27 09:10:30 -08:00
Davanum Srinivas
0fede7b8a2
Bump x/oauth2 and x/crypto
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-02-27 10:59:37 -05:00