Commit Graph

52022 Commits

Author SHA1 Message Date
Paco Xu
8195f82fe8 remove AggregatedDiscoveryEndpoint that was GAed in v1.30 2025-03-11 10:51:43 +08:00
Paco Xu
bb79c29dd5 remove feature gate RemainingItemCount that was GAed in v1.29 2025-03-03 10:45:39 +08:00
Kubernetes Prow Robot
c5b83f7c6c Merge pull request #129375 from carlory/remove-fg-AppArmor
Remove general available feature-gate AppArmor
2025-03-02 05:18:55 -08:00
Kubernetes Prow Robot
78c41fbcc9 Merge pull request #130515 from Jefftree/revert-cle-beta-types
Revert "LeaseCandidate v1beta1 API"
2025-03-01 14:55:02 -08:00
Kubernetes Prow Robot
ca22563752 Merge pull request #130484 from aojea/kube_proxy_reconciler_ports
conntrack reconciler must check the dst port
2025-03-01 14:54:55 -08:00
Jefftree
05a90bf642 Revert "Add LeaseCandidate v1beta1"
This reverts commit fad4594fd9.
2025-03-01 14:14:25 +00:00
Jefftree
1a1b566d61 Revert "LeaseCandidate alpha -> beta,"
This reverts commit ac7a95efb0.
2025-03-01 14:14:19 +00:00
Jefftree
71622aee49 Revert "generated"
This reverts commit 2d10dec3a2.
2025-03-01 14:10:35 +00:00
Kubernetes Prow Robot
0556b20d3d Merge pull request #129435 from googs1025/dra/validation
chore: add more error info for validateResourceSliceSpec
2025-03-01 02:16:55 -08:00
Kubernetes Prow Robot
aad87f2ee9 Merge pull request #130388 from thockin/error_matcher_and_origin
Add an error matcher, convert 2 tests
2025-02-28 17:14: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
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
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
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
Marek Siarkowicz
e7c743b2eb Streaming JSON encoder for List 2025-02-28 13:33:36 +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
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
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
Jefftree
fad4594fd9 Add LeaseCandidate v1beta1 2025-02-27 15:41:26 +00:00
carlory
28d359beec promote HonorPVReclaimPolicy to GA
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-27 14:01:22 +08:00
yongruilin
a488509197 test: Improve error comparison in resource validation tests
Replace manual error logging with cmp.Diff for more precise error comparisons, using cmpopts to ignore Origin field and support UniqueString comparison.
2025-02-27 05:20:54 +00:00
Kubernetes Prow Robot
a18b4a8d97 Merge pull request #129158 from LionelJouin/fix-128831
Fix ResourceClaim status API inconsistency
2025-02-26 20:32:30 -08:00
Kubernetes Prow Robot
e8ed01179a Merge pull request #129498 from carlory/JobPodFailurePolicy
Remove general available feature-gate JobPodFailurePolicy
2025-02-26 18:48:36 -08:00
Hemant Kumar
94f3b552bf Fix linter warnings 2025-02-26 21:45:00 -05:00
Hemant Kumar
b0dc96e71e Add unit tests for progress tracking and remove fullpath from reporting 2025-02-26 18:13:07 -05:00
Kubernetes Prow Robot
1b4c3483ce Merge pull request #127577 from vaibhav2107/eviction-hard
Added the MergeDefaultEvictionSettings Kubelet Config
2025-02-26 12:10:30 -08:00
Kubernetes Prow Robot
b38bf6c312 Merge pull request #130035 from cici37/nsDeletion
[KEP-5080]Ordered Namespace Deletion
2025-02-26 10:16:30 -08:00
Kubernetes Prow Robot
facb1a8c55 Merge pull request #129905 from ania-borowiec/129778_replace_equal
Replace reflect.DeepEqual with cmp.Diff in pkg/scheduler tests
2025-02-26 08:24:30 -08:00
Michal Wozniak
a91ed902fe Graduate Backoff Limit Per Index as stable
Reenable the JobBackoffLimitPerIndex_Reenabling integration test
2025-02-26 17:06:37 +01:00
Kubernetes Prow Robot
50ba48369d Merge pull request #130414 from googs1025/chore/scheduler_features
chore(scheduler): use framework.Features in scheduler plugins
2025-02-26 06:20:30 -08:00
googs1025
239aad8e4b chore(scheduler): use framework.Features in scheduler plugins 2025-02-26 19:16:07 +08:00
Jordan Liggitt
8090db5dcf Switch to private instances of rand for seeding for tests 2025-02-26 11:27:10 +01:00
Ania Borowiec
4205f04ce3 Replace uses of reflect.DeepEqual with cmp.Diff in pkg/scheduler tests 2025-02-26 09:27:51 +00:00
Kubernetes Prow Robot
81f03c2f5b Merge pull request #124137 from ratnadeepb/testForceDetachMetric_invoke
fix: Ensure testForceDetachMetric works on the delta of ForceDetachMetricCounter
2025-02-25 09:40:29 -08:00
Kubernetes Prow Robot
ffad281e3e Merge pull request #130060 from carlory/fix-quota-scope
Fix the `ResourceQuota` admission plugin does not respect ANY scope change
2025-02-25 08:24:29 -08:00
Kubernetes Prow Robot
4b12e89d0d Merge pull request #130279 from serathius/watchcache-snapshot
Watchcache snapshot
2025-02-25 05:08:37 -08:00
carlory
eb0f003d25 Fix a bug where the ResourceQuota admission plugin does not respect ANY scope change when a resource is being updated. i.e. to set/unset an existing pod's terminationGracePeriodSeconds field. 2025-02-25 10:26:34 +08:00
Kubernetes Prow Robot
2e3b8958ab Merge pull request #130363 from mutokrm/style-const
Style: use const rather than string in cgroup_v2
2025-02-24 17:24:28 -08:00
Hemant Kumar
f7c1799297 Handle returned error as placeholder variables for now 2025-02-24 16:26:48 -05:00