tangwz
be080584c6
scheduler(NodeResourcesFit & NodeResourcesBalancedAllocation): calculatePodResourceRequest in PreScore phase ( #115655 )
...
* scheduler(NodeResourcesFit): calculatePodResourceRequest in PreScore phase
* scheduler(NodeResourcesFit and NodeResourcesBalancedAllocation): calculatePodResourceRequest in PreScore phase
* modify the comments and tests.
* revert the tests.
* don't need consider nodes.
* use list instead of map.
* add comment for podRequests.
* avoid using negative wording in variable names.
2023-03-10 07:44:53 -08:00
Wei Huang
72863f65d6
Graduate PodSchedulingReadiness to beta
2023-02-17 18:45:20 -08:00
Lucas Severo Alves
6b34fafdaf
Add ctx logging involved in KS startup ( #115588 )
...
* ctx logging involved in startup
as per https://github.com/kubernetes/kubernetes/pull/111155#pullrequestreview-1283257121
* use klog.Background().Error in flag handling
* revert scheduler_perf changes
* refence issue in code comment
* enable ctx logcheck for cmd/kube-scheduler
2023-02-13 09:19:29 -08:00
Daniel Vega-Myhre
41817b1888
optionally ignore preferred terms of existing pods unless incoming pod
...
has inter-pod affinities
2023-01-13 23:15:53 +00:00
Kubernetes Prow Robot
1de943d9cf
Merge pull request #114149 from kidddddddddddddddddddddd/volume_zone
...
Implement PreFilter for VolumeZone plugin for performance
2022-12-10 06:04:48 -08:00
kidddddddddddddddddddddd
9e0a7c7ee7
add pre_filter for volume_zone
2022-12-03 02:11:04 +08:00
aimuz
059acc2f5a
kubernetes components using leader election to leases
...
Signed-off-by: aimuz <mr.imuz@gmail.com>
2022-11-23 10:59:08 +08:00
Patrick Ohly
d2ff210c20
scheduler: add dynamic resource allocation plugin
...
The plugin handles the interaction with ResourceClaims that are referenced by a
Pod.
2022-11-11 21:58:03 +01:00
Wei Huang
2de75d92bf
API, Codegen, UT for PreEnqueue extension point
2022-11-07 14:02:57 -08:00
Yuan Chen
18f5b5c8e0
Replace deprecated pointer conversions in scheduler
2022-10-21 10:43:24 -07:00
Yuan Chen
dd1b4fa407
Replace error string with ErrorList in scheduler valiation test
...
Remove expected status
Remove unnecessary code
Revert changes to BindVerb
2022-10-19 12:14:57 -07:00
Yuan Chen
7297f48f12
Add profile level percentageOfNodesToScore
...
Fix conversion errors
Changed the order
update
update
fix manaul coversions
keep the global parameter for backward compatibility
Address Wei's comments
Fix an error
Fix issues
Add unit tests for validation
Fix a comment
Address comments
Update comments
fix verifiation errors
Add tests for scheme_test.go
Convert percentageOfNodesToScore to pointer
Fix errors
Resolve conflicts
Fix testing errors
Address Wei's comments
Revert IntPtr to Int changes
Address comments
Not overrite percentageOfNodesToScore
Fix a bug
Fix a bug
change errs to err
Fix a nit
Remove duplication
Address comments
Fix lint warning
Fix an issue
Update comments
Clean up
Address comments
Revert changes to defaults
fix unit test error
Update
Fix tests
Use default PluginConfigs
2022-10-14 13:01:06 -07:00
ialidzhikov
7c8a151faa
pkg/scheduler: Replace deprecated func usage from the k8s.io/utils/pointer
pkg
2022-08-16 08:39:18 +03:00
Kubernetes Prow Robot
2ae27c89ba
Merge pull request #111206 from SataQiu/scheduler-20220718
...
scheduler: include supported ScoringStrategyType list in error message for NodeResourcesFit plugin
2022-07-30 01:40:29 -07:00
kerthcet
b3b6e0da0a
Cleanup no longer fit comments
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:48:50 +08:00
kerthcet
02f77a1b84
Feat: ga component config in kube-scheduler
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-29 08:47:48 +08:00
SataQiu
107dee6f04
scheduler: ValidateNodeResourcesFitArgs will check ScoringStrategy.Type field and print supported ScoringStrategyType list on error
2022-07-26 13:23:03 +08:00
kerthcet
aa04472f54
Refactor: rename removedPlugin to invalidPlugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-25 11:19:44 +08:00
kerthcet
a2229691a9
Revert "Cleanup: remove validation of removedPlugins"
...
This reverts commit 0971577c3e
.
2022-07-25 10:56:05 +08:00
kerthcet
0971577c3e
Cleanup: remove validation of removedPlugins
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-07-08 23:19:59 +08:00
xiaomudk
8e7b6f3770
Remove redundant variable definitions in scheduler apis defaults.go
2022-06-14 22:36:00 +08:00
xiaomudk
8187c2da9e
Optimize code for SetDefaults_NodeResourcesBalancedAllocationArgs
2022-06-13 23:09:08 +08:00
kerthcet
02f0a3ee91
feat: add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-05-10 12:54:49 +08:00
Kubernetes Prow Robot
bf7b9119f0
Merge pull request #108278 from kerthcet/feature/graduate-defaultPodTopologySpread-to-ga
...
graduate default pod topology spread to ga
2022-02-28 08:02:57 -08:00
kerthcet
4439fc3590
feat: graduate DefaultPodTopologySpread to GA
...
Co-authored-by: drfish <drfish.me@gmail.com>
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-02-23 19:45:27 +08:00
Kubernetes Prow Robot
a2adaf75b7
Merge pull request #108205 from dkkb/fix/typo
...
Fix typo allcoated -> allocated
2022-02-22 14:35:03 -08:00
dkkb
e0582320c1
Fix typo allcoated -> allocated
2022-02-18 13:40:51 +08:00
Kevin Delgado
6ab711c3ca
Nested decoders handle strict decoding errors
...
* Adds docs to the NestedObjectDecoder about handling strict decoding
errors.
* Updates all in-tree NestedObjectDecoder implementations and callers to
check for strict decoding errors before short-circuiting on error.
2022-02-17 22:05:30 +00:00
Jordan Liggitt
0b90b6ec5e
Add field paths to expected unknown/duplicate errors
2021-12-13 09:38:13 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Kubernetes Prow Robot
c0b5ed7556
Merge pull request #105611 from damemi/simplified-multipoint-extension
...
Scheduler simplified MultiPoint plugin config
2021-11-16 17:44:12 -08:00
Mike Dame
420c5308bb
Add MultiPoint scheduler plugin config field
2021-11-16 14:56:33 -05:00
kerthcet
371eb83065
fix RequestedToCapacityRatioParam's shape can be empty
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-11-04 16:45:43 +08:00
kerthcet
e5dd375b14
refactor scheudler's node resource plugins
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-11-03 00:52:23 +08:00
kerthcet
2c5b5533bf
remove scheduler NodeLabel plugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-27 10:07:35 +08:00
kerthcet
a139da6b04
remove scheduler NodePreferAvoidPods plugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-27 08:05:44 +08:00
Kubernetes Prow Robot
6166203f45
Merge pull request #105828 from ahg-g/ahg-legacy
...
Remove scheduler's legacy policy config
2021-10-25 09:38:23 -07:00
Abdullah Gharaibeh
faf0ce68a0
Remove scheduler's legacy policy config
2021-10-24 21:58:12 -04:00
Kubernetes Prow Robot
89dd275dde
Merge pull request #105584 from goofy-z/fix-extension-point-postfilter-comment
...
update extension point PostFilter comment
2021-10-22 20:00:20 -07:00
Kubernetes Prow Robot
cc25656b00
Merge pull request #105030 from liggitt/json-stdlib
...
switch from json-iterator to forked stdlib json decoder
2021-10-21 20:40:37 -07:00
Jordan Liggitt
bba877d3a6
Switch from json-iterator to utiljson
2021-10-20 12:49:23 -04:00
kerthcet
fc9533e72f
remove scheduler ServiceAffinity plugin
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-15 22:10:31 +08:00
goofy-z
d2a0332e75
update extension point PostFilter comment
2021-10-09 14:26:09 +08:00
kerthcet
a6f695581b
remove legacy scheduler policy config, as well as associated flags policy-config-file, policy-configmap, policy-configmap-namespace and use-legacy-policy-config
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-10-08 23:57:49 +08:00
ravisantoshgudimetla
5c7f602f48
Make v1beta3 default
2021-10-07 10:58:06 -04:00
ravisantoshgudimetla
a07022ae8a
[cc][api]: Introduce scheduler v1beta3 api
...
Changes in pkg/apis/scheduler reflecting the changes
from staging. The weights of following priority plugins
were increased:
- TaintTolerations
- NodeAffinity
- InterPodAffinity
as they're user facing priorities and they should be more
influential when compared to default plugins which don't
have any user say.
xref: https://github.com/kubernetes/enhancements/pull/2850
2021-10-04 13:37:03 -04:00
kerthcet
75a255d2ed
remove scheduler component config v1beta1
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-09-28 13:13:17 +08:00
Wei Huang
a689ad4cda
sched: start dynamicInformerFactory along with regular informerFactory ( #105016 )
...
* sched: start dynamicInformerFactory along with regular informerFactory
* fixup: start all informers and then wait for their syncs
2021-09-16 19:33:00 -07:00
Kubernetes Prow Robot
c10be982d1
Merge pull request #96345 from ingvagabund/disable-insecure-port-in-scheduler
...
refactor: disable insecure serving in kube-scheduler
2021-09-14 08:01:09 -07:00
Jan Chaloupka
07af6697e9
refactor: disable insecure serving in kube-scheduler
2021-09-14 07:52:16 +02:00