Commit Graph

50510 Commits

Author SHA1 Message Date
Patrick Ohly
6dd2ade762 DRA scheduler: reduce log verbosity
That a pod with no claims remains unschedulable on claim changes is a pretty
normal case. It should only be logged when debugging.
2024-08-22 10:09:32 +02:00
Patrick Ohly
89e2feaf46 DRA scheduler: fix feature gate check for PodSchedulingContext event
The event is only relevant when DRAControlPlaneController (= "classic DRA") is
enabled.

This change has no effect in practice because the only plugin using this event,
the dynamic resource plugin, also checks feature gates when asking for events
and correctly only asks for PodSchedulingContext events when
DRAControlPlaneController is enabled.
2024-08-20 10:49:08 +02:00
Tim Hockin
1e8002cd03 fix v1a3 ResourceSliceList metadata field name
This field was incorrectly named "listMeta" and was missed in review.
2024-08-16 16:46:04 -07:00
Kubernetes Prow Robot
1c4f540669 Merge pull request #122739 from HirazawaUi/remove-deprecated-args
kubelet: mark the deprecated pod-infra-container-image flag for removal in 1.35
2024-08-16 11:32:38 -07:00
HirazawaUi
b1d88fd80a move deprecated version to 1.35 2024-08-17 01:26:35 +08:00
Kubernetes Prow Robot
fa75c8c749 Merge pull request #126671 from fusida/fix-ipallocator-repair-timeout
set service-ip-repair-controller wait time match with etcd dial timeout
2024-08-16 06:42:39 -07:00
Kubernetes Prow Robot
0a406ee1b4 Merge pull request #126723 from pwschuurman/revert-125372-pvcScalabilityFix
Revert "Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results"
2024-08-16 03:11:13 -07:00
古九
fc07c23b73 set service-ip-repair-controller wait time match with etcd dial timeout 2024-08-16 15:45:47 +08:00
pwschuurman
dbcbdbf5fb Revert "Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results" 2024-08-15 16:33:11 -07:00
Kubernetes Prow Robot
b860feb2a6 Merge pull request #126540 from skitt/avoid-double-mock-headers
Handle all mock header generation with mockery
2024-08-15 15:39:51 -07:00
Kubernetes Prow Robot
29f96c32dd Merge pull request #126720 from liggitt/revert-kubeProxy-enable
Switch DisableNodeKubeProxyVersion back to disabled-by-default
2024-08-15 13:11:51 -07:00
Jordan Liggitt
abf22c3ec5 Switch DisableNodeKubeProxyVersion back to disabled-by-default
This is clearing a stable API field, so the 1 year from announcement to change period applies
2024-08-15 13:14:17 -04:00
Kubernetes Prow Robot
66dca4523e Merge pull request #126529 from googs1025/cli_priorityclass
kubectl: added preemptionPolicy field when using kubectl get PriorityClass
2024-08-15 08:49:55 -07:00
googs1025
d28ee829f6 kubectl: added preemptionPolicy field when using kubectl get PriorityClass 2024-08-15 21:41:14 +08:00
Kubernetes Prow Robot
cd5f208315 Merge pull request #126698 from enj/enj/i/del_kms_v2_gates
Remove KMSv2 and KMSv2KDF feature gates
2024-08-14 18:15:17 -07:00
Monis Khan
6398b8a19f Remove KMSv2 and KMSv2KDF feature gates
These have been GA since v1.29 and can be safely removed.

Signed-off-by: Monis Khan <mok@microsoft.com>
2024-08-14 17:05:18 -04:00
Antonio Ojea
21620165e3 status writers are supposed to be constrained to modifying the status stanza 2024-08-14 13:57:41 +00:00
Kubernetes Prow Robot
201bdaa2fe Merge pull request #126532 from wedaly/kube-proxy-initial-sync-race
kube-proxy: initialization wait for service and endpoint handlers synced
2024-08-14 04:23:29 -07:00
Kubernetes Prow Robot
702cea241d Merge pull request #123952 from kinvolk/rata/userns-add-tests-namespacesForPod
pkg/kubelet/kuberuntime: Add userns tests for NamespacesForPod
2024-08-14 04:23:22 -07:00
Kubernetes Prow Robot
5d10ab5cd5 Merge pull request #126606 from googs1025/refactor_kubelet_peemption_ut
refactor(kubelet preemption): merge TestEvictPodsToFreeRequests() method in ut
2024-08-14 00:21:13 -07:00
Kubernetes Prow Robot
aa2938f15e Merge pull request #126482 from LionelJouin/fix-dra-comment
DRA: Fix ResourceClaimTemplateSpec comment
2024-08-14 00:21:07 -07:00
Kubernetes Prow Robot
03e8154063 Merge pull request #126644 from Huang-Wei/fix-preemption
Fix a scheduler preemption issue where the victim isn't properly patched, leading to preemption not functioning as expected
2024-08-13 22:12:09 -07:00
Kubernetes Prow Robot
0ef48e611d Merge pull request #126561 from wedaly/kube-proxy-fix-remaining-informers
kube-proxy: initialization wait for node and serviceCIDR synced
2024-08-13 22:11:26 -07:00
Kubernetes Prow Robot
6a478b4306 Merge pull request #126545 from yangjunmyfm192085/updatepersistentVolumeClaimRetentionPolicy
Update incorrect description of persistentVolumeClaimRetentionPolicy
2024-08-13 22:11:11 -07:00
Kubernetes Prow Robot
5e2cead785 Merge pull request #126534 from googs1025/scheduler_cleanup
scheduler: use logger instead of new klog.FromContext(ctx)
2024-08-13 22:10:56 -07:00
Kubernetes Prow Robot
5b95fdb374 Merge pull request #126476 from pohly/scheduler-framework-filter-docs
scheduler: document behavior of Error status returned by Filter
2024-08-13 22:10:42 -07:00
Kubernetes Prow Robot
bf4cf4d779 Merge pull request #126460 from aojea/hosts_networks_hostfile
hostNetwork pods mount /etc/hosts without network
2024-08-13 21:04:19 -07:00
Kubernetes Prow Robot
5891e72703 Merge pull request #126411 from hoskeri/fix-authnz-configfile-usage-formatting
Fix formatting of the authnz config usage.
2024-08-13 21:03:52 -07:00
Kubernetes Prow Robot
bbd1dd8c6f Merge pull request #126342 from aramase/aramase/c/auth_rm_unused_function
cleanup unused fn IsValidServiceAccountKeyFile in authenticator config
2024-08-13 21:03:38 -07:00
Kubernetes Prow Robot
af782d05aa Merge pull request #126292 from googs1025/scheduler_ut
scheduler(ut): call close method when finish profileMap in ut
2024-08-13 21:03:24 -07:00
Kubernetes Prow Robot
bb7411120a Merge pull request #126287 from devppratik/121793-update-node-monitor-grace-period
node: Update Node Monitor Grace Period default duration to 50s
2024-08-13 21:03:16 -07:00
Kubernetes Prow Robot
6cf49df138 Merge pull request #126158 from macsko/use_generics_in_scheduling_queue_heap
Use generics in scheduling queue's heap
2024-08-13 21:03:02 -07:00
Kubernetes Prow Robot
ea1143efc7 Merge pull request #126022 from macsko/new_node_to_status_map_structure
Change structure of NodeToStatus map in scheduler
2024-08-13 21:02:55 -07:00
Toru Komatsu
a7242fcff7 Implement PVC/Add QueueingHint in CSILimit plugin (#124703)
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-08-13 21:02:42 -07:00
Kubernetes Prow Robot
9d140b136c Merge pull request #125372 from hungnguyen243/pvcScalabilityFix
Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results
2024-08-13 18:52:42 -07:00
googs1025
529d13c746 refactor: kubelet preemption TestEvictPodsToFreeRequests() method 2024-08-13 08:41:07 +08:00
Wei Huang
f6a11da279 fix a scheduler preemption issue that victim is not patched properly 2024-08-12 15:25:10 -07:00
Hung Nguyen
eb16aa1d4a improve PVC Protection Controller's processing mechanism with sample performance test 2024-08-08 16:57:55 +00:00
Antonio Ojea
5845492cb4 hostNetwork pods mount /etc/hosts without network
hostNetwork pods mount the /etc/hosts from the root namespaces, hence
does not depend on PodIPs to be populated to mount the /etc/hosts file
and add the argumentes specified in the Pod.Spec like hostAliases.
2024-08-06 16:56:57 +00:00
Will Daly
d59687c367 kube-proxy: initialization wait for node and serviceCIDR synced
Follow-on from https://github.com/kubernetes/kubernetes/pull/126532
to wait for pre-sync events delivered for the remaining two informers
in kube-proxy (node and serviceCIDR).
2024-08-06 09:01:42 -07:00
杨军10092085
56bbae4807 Updated incorrect description of persistentVolumeClaimRetentionPolicy 2024-08-05 21:30:25 +08:00
Stephen Kitt
f4ddb44c36 Handle all mock header generation with mockery
mockery is set up to generate headers in all the mocks it produces, so
the separate header generation in update-mocks.sh is no longer useful
(and leads to duplicate headers in three cases). This removes the
relevant parts of the shell script.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-08-05 11:19:37 +02:00
googs1025
6427243676 use logger instead of new klog.FromContext(ctx) 2024-08-04 21:09:02 +08:00
Will Daly
5bd6cbba33 kube-proxy: initialization wait for service and endpoint handlers synced
Ensure kube-proxy waits for the services/endpointslices informer
caches to be synced *and* all pre-sync events delivered before
setting isInitialized=true. Otherwise, in clusters with many services,
some services may be missing from svcPortMap when kube-proxy starts
(e.g. during daemonset rollout). This can cause kube-proxy to temporarily
remove service DNAT rules and then skip cleanup of UDP conntrack entries
to a service VIP.

Resolves: https://github.com/kubernetes/kubernetes/issues/126468
2024-08-03 13:01:29 -07:00
Davanum Srinivas
4fc6d8daf5 [kube-proxy] add log verbosity to endpoint topology hint loop - Take 2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-08-02 22:28:51 -04:00
Kubernetes Prow Robot
dbc2b0a5c7 Merge pull request #126383 from Shubham82/correct_comment_for_StableLoadBalancerNodeSet
Update the Comment for StableLoadBalancerNodeSet Feature Gate.
2024-08-01 07:20:02 -07:00
Marek Siarkowicz
93a10a7569 Introduce ConcurrentWatchObjectDecode feature gate disabled by default 2024-07-31 18:30:45 +02:00
Lionel Jouin
4532d90068 DRA: Fix ResourceClaimTemplateSpec comment
ObjectMeta for the ResourceClaimTemplateSpec are copied into
ResourceClaim not PVC.

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
2024-07-31 17:53:47 +02:00
Kubernetes Prow Robot
eb729d1db7 Merge pull request #126469 from serathius/beta2
Move ConsistentListFromCache to Beta default again
2024-07-31 08:35:47 -07:00
Patrick Ohly
d71d59b91e scheduler: document behavior of Error status returned by Filter
This behavior was useful for https://github.com/kubernetes/kubernetes/pull/125488 but
wasn't obvious when reading the documentation.
2024-07-31 08:55:46 +02:00