Gunju Kim
be89a6120b
Avoid SidecarContainers code path for non-sidecar pods
...
This fixes a regression in the SidecarContainers feature by minimizing
the impact of the new code path. Use the old code path for pods without
restartable init containers, and apply the new code path only to pods
with restartable init containers.
2024-09-06 22:36:43 +09:00
Kubernetes Prow Robot
f248c24456
Merge pull request #127182 from sanposhiho/cleanup-metrics
...
chore: cleanup inFlightPods when closing the queue
2024-09-06 12:05:42 +01:00
Kubernetes Prow Robot
f803c112b8
Merge pull request #127177 from sanposhiho/bug-deepcopy
...
fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly
2024-09-06 09:48:04 +01:00
Kensei Nakada
d76433554e
chore: cleanup inFlightPods when closing the queue
2024-09-06 17:12:28 +09:00
Kensei Nakada
b456d705eb
fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly
2024-09-06 10:45:40 +09:00
cpanato
e09c28ec69
update debian-base and setcap to bookworm-v1.0.4
...
Signed-off-by: cpanato <ctadeu@gmail.com >
2024-09-05 14:09:04 -06:00
Kubernetes Prow Robot
52d4972901
Merge pull request #127109 from sanposhiho/precheck-move
...
feat: disable preCheck when QHint is enabled
2024-09-05 17:19:57 +01:00
Kubernetes Prow Robot
dfb763b05e
Merge pull request #127016 from sanposhiho/multiple-inflightpods
...
fix: discard a pod at Pop() when the pod is being scheduled
2024-09-05 17:19:50 +01:00
Gunju Kim
4363a8453c
Restart the init container to not be stuck in created state
...
The main sync loop should have created and started the container in one
step. If the init container is in the 'created' state, it's likely that
the container runtime failed to start it. To prevent the container from
getting stuck in the 'created' state, restart it.
2024-09-05 22:37:45 +09:00
Kensei Nakada
6d357d2476
fix: discard a pod at Pop() when the pod is being scheduled
2024-09-05 22:30:43 +09:00
Stanislav Láznička
0409ba7ff1
cluster trust CM: wire in the new RequestHeader UID config
2024-09-05 14:28:31 +02:00
Stanislav Láznička
7fabd06c2b
requestheaders: add a "requestheader-uid-headers" flag and wire it up
2024-09-05 14:28:31 +02:00
Kubernetes Prow Robot
3ac8fc04e1
Merge pull request #126834 from carlory/fix-125924-1
...
DRA: rename pkg/cm/dra/plugin files
2024-09-05 12:15:58 +01:00
Kubernetes Prow Robot
b83ec12c43
Merge pull request #126847 from aroradaman/conntrack-netlink
...
Remove conntrack binary dependency from kube-proxy
2024-09-05 07:03:51 +01:00
Kensei Nakada
9743356980
chore: initialize metric recorder
2024-09-05 12:16:53 +09:00
Kensei Nakada
46eedeb121
chore: use a real logger in tests
2024-09-05 12:13:05 +09:00
Kensei Nakada
0b71f256a8
fix(scheduler): fix a possible memory leak for QueueingHint
2024-09-05 12:13:05 +09:00
carlory
d5d5bf9f59
Remove generally available feature gate NodeOutOfServiceVolumeDetach
2024-09-05 10:33:16 +08:00
carlory
c2a3009018
Remove generally available feature gate MinDomainsInPodTopologySpread
2024-09-05 10:29:41 +08:00
carlory
8d32f22be4
cleanup after NewVolumeManagerReconstruction is GA
2024-09-05 10:10:07 +08:00
Abhijit Hoskeri
c7e4e831dd
node self-register continue if CREATE is 403.
...
tryRegisterWithAPIServer issues node create requests
regardless of whether the Node already exists.
If there's an admission policy forbidding the creation
of new nodes, the policy would return 403 even if the
Node actually exists.
This change makes Kubelet proceed to attempt to GET
the node in case the Create returns 403.
The feature `KubeletRegistrationGetOnExistsOnly`
restores the previous behavior.
2024-09-05 01:22:44 +00:00
Kubernetes Prow Robot
8119e57c07
Merge pull request #126791 from Jefftree/feature-gate-port
...
chore: port all non deprecated, non apiserver/controller-manager referenced features to versioned
2024-09-04 22:25:56 +01:00
Kubernetes Prow Robot
05df9f4675
Merge pull request #127052 from sanposhiho/add-inflight-event-metric
...
feat(scheduler): support inflight_events metric
2024-09-04 19:56:19 +01:00
Daman Arora
c34b20fa63
proxy/conntrack: use proxier ip family for conntrack cleanup
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-09-04 22:56:03 +05:30
Kubernetes Prow Robot
cc27d21ad7
Merge pull request #127117 from robert-cronin/fix/traffic-distribution-comment
...
Fix traffic distribution comment to reflect graduated status in v1.31
2024-09-04 18:21:00 +01:00
Jefftree
e1893bf44e
fix feature gate version introduced for StatefulSetAutoDeletePVC
2024-09-04 17:00:42 +00:00
Daman Arora
a6b4aa7005
proxy/conntrack: consolidate flow cleanup
...
Signed-off-by: Daman Arora <aroradaman@gmail.com >
2024-09-04 21:55:22 +05:30
Daman Arora
b0f823e6cc
remove the conntrack binary dependency
...
kube-proxy needs to delete stale conntrack entries for UDP services to
avoid blackholing traffic. Instead of using the conntrack binary it
can use netlink calls directly, reducing the containers images size and
the security surface.
Signed-off-by: Daman Arora <aroradaman@gmail.com >
Co-authored-by: Antonio Ojea <aojea@google.com >
2024-09-04 21:48:34 +05:30
Jefftree
e7bfd4b6b2
Rename stable to GA
2024-09-04 14:40:12 +00:00
Jefftree
92c36f59b1
fix feature gate version introduced
2024-09-04 14:40:12 +00:00
Jefftree
11bbc0efb9
update discrepency betwen kube_features and website
2024-09-04 14:30:15 +00:00
Jefftree
2954dbbe26
fix feature gate version introduced for MatchLabelKeeysInPodAffinity
2024-09-04 14:30:15 +00:00
Jefftree
86d5bb8607
fix feature gate version introduced for ClusterTrustBundle
2024-09-04 14:30:15 +00:00
Jefftree
c5597f71a6
Port feature gates to versioned
2024-09-04 14:30:13 +00:00
Kubernetes Prow Robot
2a8408811a
Merge pull request #127064 from macsko/dont_panic_when_scheduling_queue_empty
...
Don't panic when popping from empty scheduling queue
2024-09-04 15:05:46 +01:00
Kensei Nakada
b5ed15b94a
feat: implement a force flush
2024-09-04 21:59:27 +09:00
Robert Cronin
67fc3798b6
Update TrafficDistribution comment to reflect graduated beta status in v1.31
2024-09-04 22:00:57 +10:00
Kensei Nakada
4ee1394b71
feat: disable preCheck when QHint is enabled
2024-09-04 17:43:00 +09:00
Kensei Nakada
0ac5d745fe
fix: clear aggregatedInflightEventMetric after flushing
2024-09-04 12:17:03 +09:00
Kubernetes Prow Robot
95956671d8
Merge pull request #127011 from jpbetz/format-only-imports
...
gengo performance: Speed up update-codegen.sh by switching to FormatOnly in gengo
2024-09-04 01:17:35 +01:00
Kubernetes Prow Robot
8b664fd414
Merge pull request #127009 from vinayakankugoyal/kep4633
...
KEP-4633: Graduate to BETA.
2024-09-04 01:17:28 +01:00
Kubernetes Prow Robot
bd04935008
Merge pull request #126877 from tallclair/owners
...
Add tallclair back to sig-node-approvers
2024-09-03 23:09:26 +01:00
Kubernetes Prow Robot
89fbb3f2d2
Merge pull request #127017 from carlory/flowcontrolv1beta3
...
remove resource flowschemas and prioritylevelconfigurations from legacyBetaEnabledByDefaultResources in v1.32
2024-09-03 21:21:17 +01:00
Kubernetes Prow Robot
6b2a5b84e5
Merge pull request #127058 from carlory/rm-fgs
...
Remove GAed feature gates ServerSideApply/ServerSideFieldValidation
2024-09-03 19:58:02 +01:00
Joe Betz
2595aa1309
generate
2024-09-03 14:26:26 -04:00
Vinayak Goyal
8a4e23ea30
KEP-4633: Graduate to BETA.
...
Signed-off-by: Vinayak Goyal <vinaygo@google.com >
2024-09-03 18:18:06 +00:00
Kubernetes Prow Robot
14f2cab4de
Merge pull request #126976 from jsturtevant/socket-file-revert
...
Revert "fix: handle socket file detection on Windows"
2024-09-03 18:31:16 +01:00
Kubernetes Prow Robot
49ccfaf1ed
Merge pull request #127021 from Madhu-1/fix-volume-abnormal
...
check for usage when volume is normal
2024-09-03 16:55:16 +01:00
Kubernetes Prow Robot
4bc6a11d78
Merge pull request #127083 from sanposhiho/scheduler-smaller-event
...
feat: implement Pod smaller update events
2024-09-03 14:05:22 +01:00
Antonio Ojea
6a2f11a90e
Update DisableKubeletCloudCredentialProviders state
...
DisableKubeletCloudCredentialProviders went GA in 1.31
2024-09-03 11:08:22 +02:00