Commit Graph

52677 Commits

Author SHA1 Message Date
Hemant Kumar
5da12b5aee Add tests that validate the return value of resize operation 2025-05-16 08:16:24 -04:00
Kubernetes Prow Robot
347c54da6e Merge pull request #131772 from sanposhiho/deepcopy-q
fix: add BackoffExpiration field to DeepCopy()
2025-05-15 12:01:14 -07:00
Kubernetes Prow Robot
ab89c406c4 Merge pull request #130949 from simonfogliato/kubelet-logs-cleanup
Removed unused function UncompressLog.
2025-05-15 08:49:13 -07:00
Kubernetes Prow Robot
58f8906d84 Merge pull request #130094 from carlory/fix-toExternalResourceClaimOrError
fix wrong api version in toExternalResourceClaimOrError
2025-05-15 06:41:14 -07:00
Kensei Nakada
a1a4bc8fec fix: add BackoffExpiration to DeepCopy 2025-05-15 02:23:51 +02:00
Kubernetes Prow Robot
0f80dab6ba Merge pull request #131753 from tallclair/server-cleanup
Remove unused GetHostname method
2025-05-14 14:03:26 -07:00
Kubernetes Prow Robot
74da30e1df Merge pull request #131623 from rata/userns-wrap-errors
kubelet: userns: Improve errors returned to the user
2025-05-14 14:03:19 -07:00
Kubernetes Prow Robot
b587977f7c Merge pull request #131445 from natasha41575/renameObservedGenHelperFns
update godoc for and rename observedGeneration helpers
2025-05-14 11:39:19 -07:00
Tim Allclair
125600e745 Remove unused GetHostname method 2025-05-14 11:05:46 -07:00
Kubernetes Prow Robot
2a3ca42c91 Merge pull request #131345 from haosdent/haosdent/return-unresolvable-when-exceed-node-resources
scheduler: return UnschedulableAndUnresolvable when node capacity is insufficient
2025-05-14 05:13:25 -07:00
Kubernetes Prow Robot
0113538e59 Merge pull request #127180 from sanposhiho/general-gate
feat: introduce pInfo.GatingPlugin to filter out events more generally
2025-05-14 05:13:18 -07:00
Kubernetes Prow Robot
feb393341e Merge pull request #131714 from sanposhiho/improve-backoff
feat: improve the backoff calculation to O(1)
2025-05-14 03:15:25 -07:00
Kubernetes Prow Robot
fbd474a286 Merge pull request #131644 from Uladzislau97/taint-time-added
Remove misleading comment from NodeTaint TimeAdded field
2025-05-13 15:53:26 -07:00
Kubernetes Prow Robot
c96032addd Merge pull request #131318 from aojea/lock_servicecidr
Lock MultiCIDRServiceAllocator to default and DisableAllocatorDualWrite to GA
2025-05-13 09:51:28 -07:00
Kubernetes Prow Robot
1325262b5f Merge pull request #130961 from hakuna-matatah/rs
Optimize RS Controller Performance: Reduce Work Duration Time & Minimize Cache Locking
2025-05-13 08:43:15 -07:00
Vlad Vasilyeu
c4d6fcb197 Remove misleading comment from NodeTaint TimeAdded field 2025-05-13 15:35:21 +00:00
Kubernetes Prow Robot
b8d9c12d1b Merge pull request #131330 from aojea/servicecidr_fixes
servicecidr: only patch status if necessary
2025-05-12 17:53:16 -07:00
Harish Kuna
e42aba6c0c Optimize RS Controller Performance: Reduce Work Duration Time & Minimize Cache Locking 2025-05-12 19:56:46 +00:00
Kensei Nakada
5140786829 feat: improve the backoff calculation to o(1) 2025-05-12 01:26:47 +02:00
Kubernetes Prow Robot
d3dfded28e Merge pull request #131469 from aojea/service_cidr_default_controller
Service cidr default controller
2025-05-10 07:19:14 -07:00
Antonio Ojea
699ec0a538 Remove wrong comment 2025-05-10 13:15:12 +02:00
Kubernetes Prow Robot
fa10ea63a6 Merge pull request #127050 from omerap12/podautoscaler-ExternalPerpodMetricReplicas-intmax
HPA: Fix int overflow in GetExternalPerPodMetricReplicas
2025-05-09 13:37:14 -07:00
Kubernetes Prow Robot
ba14d26c04 Merge pull request #131650 from omerap12/hpa-reviewers
Add hpa reviewers
2025-05-09 11:59:14 -07:00
Kubernetes Prow Robot
3a1157f29e Merge pull request #131681 from tallclair/backoff-key
Add container resources to crashloop backoff key
2025-05-08 16:25:20 -07:00
Kubernetes Prow Robot
f603a0ada8 Merge pull request #129472 from dims/api-server-crashes-on-concurrent-map-iteration-and-write
Fix API server crash on concurrent map iteration and write
2025-05-08 16:25:13 -07:00
Tim Allclair
eb4641d651 Add container Resources to the backoff key 2025-05-08 14:21:19 -07:00
sxllwx
75afa1e0ac Fix API server crash on concurrent map iteration and write
Improve audit context handling by encapsulating event data and operations behind a structured API. Make
the Audit system more robust in concurrent environments by properly isolating mutable state. The cleaner
API simplifies interaction with audit events, improving maintainability. Encapsulation reduces bugs
by preventing direct manipulation of audit events.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-Authored-By: Jordan Liggitt <liggitt@google.com>
Co-Authored-By: sxllwx <scottwangsxll@gmail.com>
2025-05-08 15:31:16 -04:00
Kubernetes Prow Robot
7cb2bd78b2 Merge pull request #131616 from jpbetz/typeconverter-cleanup
Reorganize scheme type converter into apimachinery utils
2025-05-07 18:09:25 -07:00
Tim Allclair
8b81a3d883 Rename GetStableKey to GetBackoffKey 2025-05-07 16:42:08 -07:00
Keita Mochizuki
a3097010fa Change the implementation design of matchLabelKeys in PodTopologySpread to be aligned with PodAffinity (#129874)
* Change the implementation design of matchLabelKeys in PodTopologySpread to be aligned with PodAffinity

* fix1
2025-05-07 13:01:15 -07:00
Joe Betz
4821604f83 Reorganize scheme type converter into apimachinery utils
This removes a dependency from generated applyconfigurations to a testing
package. To do this, the type converter in the testing package has been
moved out to the apimachinery package and the utilities the converter
depend on have been reorganized.
2025-05-07 15:42:09 -04:00
Omer Aplatony
af1d60f30b Add hpa reviewers
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-05-07 18:16:15 +00:00
Omer Aplatony
0acc7bd4dc HPA: Fix int overflow in GetExternalPerPodMetricReplicas
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2025-05-07 16:26:27 +00:00
Kensei Nakada
d28c8cd488 fix: not removing the plugin from the unsched plugins after PreEnqueue 2025-05-07 14:12:23 +02:00
Kensei Nakada
47d296d62d feat: introduce pInfo.GatingPlugin to filter out events more generally 2025-05-07 13:54:47 +02:00
Rodrigo Campos
441dd30515 userns: Wrap more errors
Most errors where already wrapped, but these were missing.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-07 11:52:36 +02:00
Rodrigo Campos
43f61e80de userns: Improve error returned if userns is not supported
This makes it clear the error comes due to a user namespace
configuration. Otherwise the error returned looks too generic and is not
clear.

Before this PR, the error was:

	  Warning  FailedCreatePodSandBox  1s    kubelet            Failed to create pod sandbox: the handler "" is not known

Now it is:

	  Warning  FailedCreatePodSandBox  1s    kubelet            Failed to create pod sandbox: runtime does not support user namespaces

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-07 11:52:36 +02:00
Kubernetes Prow Robot
2e198e8473 Merge pull request #131611 from dom4ha/leader-change
Remove alculquicondor who is stepping down from sig-scheduling-api-reviewers
2025-05-06 12:53:36 -07:00
Kubernetes Prow Robot
c6739dd54d Merge pull request #131560 from jpbetz/validation-gen-subresource-simplification
Declarative validation: Simplify handling of subresources
2025-05-06 09:29:20 -07:00
Kubernetes Prow Robot
ef66667c8e Merge pull request #131243 from danwinship/kube-proxy-cleanup
Improve `kube-proxy --cleanup` / cleanup on kube-proxy mode switch
2025-05-06 09:29:13 -07:00
Rodrigo Campos
4ed3768dc9 userns: Use len to handle empty non-nil slices
When using an old runtime like containerd 1.7, this message is not
implemented and what we get here is an empty non-nil slice. Let's check
the len of the slice instead.

While we are there, let's just return false and no error. In the
following commits we will wrap the error and we didn't find any more
info to add here.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2025-05-06 17:54:25 +02:00
dom4ha
97a2cb39ce Make sig-scheduling-api-approvers actual approvers 2025-05-06 15:37:57 +00:00
dom4ha
6d927c3c25 Comment out sig-scheduling-api-reviewers, since it's currently empty. 2025-05-06 15:15:03 +00:00
Antonio Ojea
9bcec340f8 modify unit test for compatibility version
Change-Id: Iacc4066e359d8c7e8fa2d2fab76262cfa50daebb
2025-05-06 13:29:55 +00:00
Antonio Ojea
15ab88f88b remove networking v1alpha1 and make update 2025-05-06 13:29:54 +00:00
Antonio Ojea
54b014be1c use networkingv1 as default storage for servicecidr and ipaddresses
Change-Id: Iad4bacff50dca68ce2cff0830a092a1c838e81d4
2025-05-06 13:29:54 +00:00
Antonio Ojea
b2fe862ae3 graduate disableAllocatorDualWrite and lock MultiCIDRServiceAllocator
Since previous version is already using the new allocator we no longer
need to keep the dual write active to synchronize the new and old
allocators.
2025-05-06 13:29:45 +00:00
Kubernetes Prow Robot
288b044e0f Merge pull request #131609 from googs1025/scheduler_AdmissionCheck
fix(scheduler): node pre-check logic to consider NoExecute taint effect
2025-05-06 06:03:20 -07:00
Kubernetes Prow Robot
d2507bb01a Merge pull request #130806 from hakuna-matatah/master
Optimize Statefulset Controller Performance: Reduce Work Duration Time & Minimize Cache Locking.
2025-05-06 06:03:13 -07:00
Joe Betz
d2fa246b06 Update codegen 2025-05-06 09:00:38 -04:00