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
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
Jordan Liggitt
bba877d3a6
Switch from json-iterator to utiljson
2021-10-20 12:49:23 -04:00
ravisantoshgudimetla
5c7f602f48
Make v1beta3 default
2021-10-07 10:58:06 -04:00
kerthcet
75a255d2ed
remove scheduler component config v1beta1
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-09-28 13:13:17 +08:00
Kubernetes Prow Robot
ea3bcbc205
Merge pull request #101946 from chendave/balance_allocation
...
Support extended resource in NodeResourcesBalancedAllocation plugin
2021-07-06 10:42:19 -07:00
Yecheng Fu
b522e95aae
Prioritizing nodes based on volume capacity: API changes
2021-07-01 10:00:59 +08:00
Dave Chen
1fa673c15c
Extent the NodeResourcesBalancedAllocation
plugin to cover more resources
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-06-30 11:15:12 +08:00
yuzhiquan
deb14b995a
Add score plugin for NodeResourcesFit
2021-06-29 13:16:55 -04:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Adhityaa Chandrasekar
3c8e56bef9
scheduler: graduate CC to v1beta2, deprecate plugins
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-06-07 12:42:55 +00:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Aldo Culquicondor
3ce145787a
Add AddedAffinity to the NodeAffinityArgs
...
And use it in Filter and Score.
Change-Id: I173d8f2d5578762e9873181d5b44ea30b6dbbbc2
2020-11-09 15:19:15 -05:00
Adhityaa Chandrasekar
a3d94b53ca
optimise defaultpreemption: enumerate fewer candidates
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-04 22:39:58 +00:00
Kubernetes Prow Robot
d0bee69fc9
Merge pull request #94636 from hprateek43/cpu_threads_parameter
...
Added config parameter for CPU threads
2020-10-29 21:04:05 -07:00
Harsh Singh
1763688d71
Added config parameter for CPU threads
2020-10-29 12:16:10 +05:30
Aldo Culquicondor
87c8349bdc
Graduate DefaultPodTopologySpread to beta
...
And set to enabled by default
Change-Id: Ie4cc4758c52492924cb0663450f2747908cb5882
2020-10-19 16:58:09 -04:00
Aldo Culquicondor
c8a0b9e8e7
Add defaultingType to PodTopologySpreadArgs
...
Change-Id: Ibf6a4fdb39a31fe9deed68de7e7cb24a9bf9d06a
2020-10-09 17:12:12 -04:00
Aldo Culquicondor
e856706984
Tests for empty constraints array when DefaultPodTopologySpread is enabled
...
An empty array in the configuration signifies that the user operator intends to disable the k8s provided default for TopologyPodSpread.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Ib4696a49f0ba748183aef417b0882d494b89f602
2020-09-17 14:55:53 -04:00
Wei Huang
4b26ef2217
Remove DisablePreemption field from SchedulerConfig v1beta1
...
DisablePreemption field can be removed as it can be deduced from PostFilterPlugins.
2020-07-08 09:58:42 -07:00
Rafal Wicha
707e1eb512
Configure strict encoding for RequestedToCapacityRatioArgs
2020-06-12 14:55:32 +01:00
Matthew Cary
ee9e6a3bcc
Remove warning about misuse of %w
2020-06-10 14:58:55 -07:00
Yecheng Fu
1ff09c0934
Remove BindTimeoutSeconds from KubeSchedulerConfiguration
2020-06-03 09:54:06 +08:00
Rafal Wicha
852442c0ff
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-25 22:25:57 +01:00
Yecheng Fu
0a3d55f2e0
Add versioned counterparts for VolumeBindingArgs
2020-05-22 09:30:52 +08:00
Dave Chen
838a0a8c03
Move RequestedToCapacityRatio
Args defaults to versioned packages
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-05-18 14:19:39 +08:00
Dave Chen
621c73b984
Configurable weight on the CPU and memory
...
This change also make it possible to score the resources beyond the "cpu"
and "memory" which is currently listed in "defaultRequestedRatioResources".
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-05-15 22:26:30 +08:00
Aldo Culquicondor
2935480cc8
Move Plugin Args defaults to versioned packages
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-06 18:00:23 -04:00
Aldo Culquicondor
6b153dc920
Add decoding of nested scheduling plugin configs
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-29 17:06:58 -04:00
gavinfish
1865a104a9
Remove kubescheduler.config.k8s.io/v1alpha1
2020-03-21 15:11:48 +08:00
Aldo Culquicondor
2ffb13e822
Do lenient decoding only for kubescheduler config v1alpha1
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-07 15:41:00 -05:00
Aldo Culquicondor
3d83ef2e8e
Autogenerated and build files for kubescheduler.config.k8s.io/v1alpha2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:48 -05:00
Aldo Culquicondor
11c4bcd9dd
Copy kubescheduler.config.k8s.io/v1alpha1 files onto v1alpha2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:41 -05:00
Wei Huang
703a669db3
autogen files
...
- make generated_files
- update-bazel.sh & update-vendor.sh)
2019-11-01 14:38:09 -07:00
Wei Huang
c649666b4a
manual API changes and code refactoring
...
- add Policy API to pkg/scheduler/apis/config and staging/src/k8s.io/kube-scheduler/config/v1
- dual-register Policy as apiGroup "v1" and "kubescheduler.config.k8s.io
- move/merge pkg/scheduler/api to pkg/scheduler/apis/config/...
- alias schedulerapi to pkg/scheduler/apis/config
- alias legacyapi to pkg/scheduler/api
- eliminate latest.Codec; use scheme.Codecs instead
- unit tests to verify Policy YAML with version "v1" or "kubescheduler.config.k8s.io/v1" can be loaded properly
- update api/api-rules/violation_exceptions.list
2019-11-01 14:24:36 -07:00
obitech
6acef2b94c
Enable strict serializer with codec factory
...
- Enabling strict serializer will throw errors on e.g. duplicate
or unknown fields in YAML configs
- Add test cases for duplicate and unknown fields
2019-09-26 17:41:07 +02:00
Di Xu
7f8a59162b
auto-generated
2018-08-24 10:58:09 +08:00
Di Xu
9f506da2d4
add new GVK kubescheduler.config.k8s.io/v1alpha1.KubeSchedulerConfiguration
2018-08-24 10:58:09 +08:00