Commit Graph

48874 Commits

Author SHA1 Message Date
Patrick Ohly
b0d4a8cd6d dra scheduler: fix incorrect tracking of claim candidates for reallocation
When dealing with unschedulable pods, the intent was to deallocate only claims
which are allocated and use delayed allocation. That if check wasn't handled
correctly, causing also claims with immediate allocation to be considered as
candidates.

Found during code reading, probably has never occurred in practice yet.
2023-12-20 09:04:01 +01:00
Kubernetes Prow Robot
b5ba7bc4f5 Merge pull request #122126 from liggitt/duplicate-warning
Update duplicate env var warning
2023-12-19 04:37:27 +01:00
Kubernetes Prow Robot
2b5c0c281d Merge pull request #122310 from weilaaa/use_buildin_max_min_instead
use build-in max and min func to instead of k8s.io/utils/integer funcs
2023-12-18 19:25:34 +01:00
Kubernetes Prow Robot
d74705119d Merge pull request #122334 from carlory/fix-118893-4
NodeUnschedulable: scheduler queueing hints
2023-12-18 18:13:52 +01:00
Kubernetes Prow Robot
9dc0dbe878 Merge pull request #122195 from nayihz/feat_queuinghints
podtopologyspread: scheduler queueing hints
2023-12-18 16:58:12 +01:00
Kubernetes Prow Robot
56d0da546a Merge pull request #121950 from sanposhiho/doc-postfilter
fix(framework): elaborate the document on PostFilter
2023-12-18 16:57:49 +01:00
Jordan Liggitt
b6e34187ca Update duplicate env var warning 2023-12-18 10:06:30 -05:00
Kubernetes Prow Robot
138ac71fb1 Merge pull request #122011 from carlory/fix-121752
fix falky test pkg/registry/core/persistentvolume/storage TestUpdateStatus
2023-12-18 06:21:00 +01:00
nayihz
09a80df1d1 podtopologyspread: scheduler queueing hints 2023-12-17 14:30:53 +08:00
Kubernetes Prow Robot
e6acd1caf5 Merge pull request #122330 from dims/remove-unused-code-in-kubelet
Remove unused code in kubelet - DockerContainer / ContainerInfo / SubcontainerInfo / WatchEvents
2023-12-16 23:46:02 +01:00
carlory
d36a7089cd scheduler/NodeUnschedulable: reduce pod scheduling latency
Co-authored-by: wackxu <xushiwei5@huawei.com>
Co-authored-by: Kensei Nakada <handbomusic@gmail.com>
2023-12-16 20:50:11 +08:00
Kubernetes Prow Robot
162599da69 Merge pull request #122311 from nayihz/fix_122304
add unit test for the scheduling queue for QueueingHint disabled
2023-12-16 03:48:58 +01:00
Davanum Srinivas
642574e964 WatchEvents seems useless
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-12-15 17:07:20 -05:00
Davanum Srinivas
aee1d54a0d Drop SubcontainerInfo
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-12-15 16:58:00 -05:00
Davanum Srinivas
c865ad532a fixing based on feedback in PR
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-12-15 16:51:15 -05:00
Kubernetes Prow Robot
55f1e21fdc Merge pull request #122341 from jsafrane/fix-vsphere-migration
Fix CSI migration for vSphere volumes
2023-12-15 18:33:14 +01:00
Kubernetes Prow Robot
e04316a68a Merge pull request #121954 from AxeZhan/nodeInfo
Sched framework: expose NodeInfo in all functions of PluginsRunner interface
2023-12-15 18:33:00 +01:00
Kubernetes Prow Robot
b1cf91b300 Merge pull request #122309 from carlory/fix-118893-1
nodeaffinity: scheduler queueing hints
2023-12-15 17:17:33 +01:00
Kubernetes Prow Robot
195bb67d36 Merge pull request #119177 from carlory/fix-118893-3
noderesourcefit: scheduler queueing hints
2023-12-15 17:17:19 +01:00
Kubernetes Prow Robot
c633ea71ed Merge pull request #122211 from gnufied/fix-uncertain-raw-block-devices
Fix device uncertain errors on reboot
2023-12-15 15:42:40 +01:00
Davanum Srinivas
d621e09a52 remove unused GetRawContainerInfo
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-12-15 05:56:22 -08:00
Jan Safranek
15e0c41601 Fix CSI migration for vSphere volumes
Restore `migratedPlugins` entry for in-tree vSphere volumes and mark them
as migrated. Otherwise the CSI volume plugin ignores in-tree vSphere
volumes and they will never get attached / mounted by CSI migration.

The entry in `migratedPlugins` was incorrectly removed during
CSIMigrationvSphere feature gate removal.
2023-12-15 13:03:35 +01:00
weilaaa
eb8f3f194f use build-in max and min func to instead of k8s.io/utils/integer funcs 2023-12-15 15:09:11 +08:00
carlory
4d7c5d9257 nodeaffinity: scheduler queueing hints 2023-12-15 13:43:22 +08:00
AxeZhan
be48c93689 Sched framework: expose NodeInfo in all functions of PluginsRunner interface 2023-12-15 11:30:06 +08:00
nayihz
16b6be1e50 add unit test for the scheduling queue for QueueingHint disabled 2023-12-15 10:55:52 +08:00
Davanum Srinivas
e2cf9692fc Remove unused code in kubelet - take 1
spotted `DockerContainer` in types.go and pulling on whether we
really needed it found that a bunch of code is not really
required.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-12-14 13:31:38 -08:00
Kubernetes Prow Robot
a3adc759a3 Merge pull request #121601 from carlory/fix-pvc-condition
fix wrong condition description in PVC
2023-12-14 22:07:46 +01:00
Hemant Kumar
e706b6ba14 Use a separate function for checking if device was reconstructed 2023-12-14 11:37:47 -05:00
Kubernetes Prow Robot
33beb81d8f Merge pull request #122285 from sanposhiho/remove-qhint
Revert "scheduler/nodeaffinity: reduce pod scheduling latency"
2023-12-14 14:12:39 +01:00
Kubernetes Prow Robot
b1b3398cb7 Merge pull request #122088 from bzsuni/ga/ExperimentalHostUserNamespaceDefaultingGate
Remove GA featuregate about ExperimentalHostUserNamespaceDefaultingGate in 1.30
2023-12-14 14:12:30 +01:00
Kubernetes Prow Robot
84b4972903 Merge pull request #122317 from pacoxu/revert-122058-scheduler-first-fit
Revert "Scheduler first fit"
2023-12-14 12:57:34 +01:00
Kubernetes Prow Robot
68ef2423e8 Merge pull request #122288 from sanposhiho/revert-qhint-nodeunschedulable
Revert "scheduler/NodeUnschedulable: reduce pod scheduling latency"
2023-12-14 10:49:19 +01:00
Kubernetes Prow Robot
66a4d25afa Merge pull request #122137 from bzsuni/ga/IPTablesOwnershipCleanup
Remove GA featuregate about IPTablesOwnershipCleanup in 1.30
2023-12-14 10:49:12 +01:00
Paco Xu
1160521a4f Revert "Scheduler first fit" 2023-12-14 17:27:25 +08:00
Kubernetes Prow Robot
8a9e0d936a Merge pull request #121919 from uablrek/etp-local-externalips
kube-proxy: Fix etp:Local for externalIPs
2023-12-14 08:50:04 +01:00
Kubernetes Prow Robot
d687dc4772 Merge pull request #122261 from mimowo/unit-tests-for-job-controller-fix
Add unit test for Job Controller for panic when PodFailurePolicy is used on 1.28
2023-12-14 07:27:48 +01:00
Kubernetes Prow Robot
734fdc775c Merge pull request #122143 from ii2day/typo_registerCidrsetMetrics
Fix typos: update registerCidrsetMetrics to registerCIDRSetMetrics
2023-12-14 06:18:43 +01:00
Kubernetes Prow Robot
7825325a42 Merge pull request #122136 from ty-dc/ga/remove_MinimizeIPTablesRestore
Remove GA featuregate about MinimizeIPTablesRestore in 1.30
2023-12-14 06:18:34 +01:00
Kubernetes Prow Robot
9694ebd2a7 Merge pull request #122134 from ty-dc/ga/remove_ProxyTerminatingEndpoints
Remove GA featuregate about ProxyTerminatingEndpoints in 1.30
2023-12-14 06:18:25 +01:00
Kubernetes Prow Robot
6c0dab57df Merge pull request #122133 from kerthcet/cleanup/calculate-resource
Remove unnecessary case when calculating request in scheduler
2023-12-14 06:18:17 +01:00
Kubernetes Prow Robot
b54e719509 Merge pull request #122111 from danwinship/proxy-chain-creation-cleanup
proxy chain creation cleanup
2023-12-14 06:17:40 +01:00
Kubernetes Prow Robot
d43e9a2654 Merge pull request #122093 from npolshakova/small-fix-getchainsfromtable
Fix error check in GetChainsFromTables
2023-12-14 06:17:31 +01:00
Kubernetes Prow Robot
ce80b7752a Merge pull request #122081 from colin404/fix/fix-incorrect-comment
fix incorrect function comment
2023-12-14 06:17:13 +01:00
Kubernetes Prow Robot
7e4751964e Merge pull request #122080 from SataQiu/clean-test-20231128
clean up unused parameters for volume zone unit test
2023-12-14 06:17:04 +01:00
Kubernetes Prow Robot
84424a8c19 Merge pull request #122068 from caohe/fix-multi-point
fix(scheduler): fix incorrect loop logic in MultiPoint to avoid a plugin being loaded multiple times
2023-12-14 05:10:37 +01:00
Kubernetes Prow Robot
517091cdc5 Merge pull request #122058 from aleksandra-malinowska/scheduler-first-fit
Scheduler first fit
2023-12-14 05:10:19 +01:00
Kubernetes Prow Robot
b155d51f97 Merge pull request #122041 from uniemimu/cleanup
remove unnecessary fmt.Sprintf call
2023-12-14 05:10:11 +01:00
Kubernetes Prow Robot
5322af7f9e Merge pull request #122022 from sanposhiho/extender-fix
fix: requeue pods rejected by Extenders properly
2023-12-14 05:10:01 +01:00
Kubernetes Prow Robot
f708c47469 Merge pull request #122017 from sanposhiho/doc-shared-lister
fix(doc): elaborate the documentation of SnapshotSharedLister
2023-12-14 05:09:52 +01:00