Kubernetes Prow Robot
e0f66be1aa
Merge pull request #101822 from yuzhiquan/NodeResourcesFit-score
...
Add score func for NodeResourcesFit plugin
2021-06-29 13:42:20 -07:00
yuzhiquan
deb14b995a
Add score plugin for NodeResourcesFit
2021-06-29 13:16:55 -04:00
Abdullah Gharaibeh
b6a317aeaf
add a function that returns default scheduler configuration
2021-06-24 11:48:35 -04:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Abdullah Gharaibeh
c13c3ebc79
Remove deprecated scheduler CLI flags hard-pod-affinity-symmetric-weight and scheduler-name
2021-06-11 10:01:42 -04:00
Abdullah Gharaibeh
52f5ba3a58
Remove SchedulerAlgorithmSource from scheduler's internal CC API
2021-06-09 19:14:54 -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
Kubernetes Prow Robot
838bb6a567
Merge pull request #98663 from gavinfish/sched-remove-plugin-pt
...
Scheduler: change config.Plugins from pointers to objects
2021-02-10 15:36:15 -08:00
drfish
74315f9c56
Change config.Plugins from pointers to objects
2021-02-10 23:45:59 +08:00
David Eads
62230d3c46
update delegated authz defaults in kube binaries
2021-01-26 12:53:24 -05:00
Harsh Singh
1763688d71
Added config parameter for CPU threads
2020-10-29 12:16:10 +05:30
wojtekt
805c1753cd
Migrate scheduler, controller-manager and cloud-controller-manager to lease lock.
2020-09-10 11:57:18 +02:00
Kubernetes Prow Robot
36083e4292
Merge pull request #91522 from SataQiu/add-logging-format-flag-20200528
...
Add '--logging-format' flag to kube-scheduler
2020-07-02 19:04:47 -07:00
SataQiu
770706ce61
add '--logging-format' flag to kube-scheduler
2020-07-01 23:23:24 +08:00
Mike Dame
2b95900b02
kube-scheduler: allow deprecated options to be set with configfile
2020-06-29 15:59:06 -04: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
Kubernetes Prow Robot
40b0f4f6cb
Merge pull request #90565 from alculquicondor/cleanup-sched-config
...
Remove wrapper around base LeaderElectionConfiguration
2020-05-13 15:59:05 -07: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
98d1e241f1
Use internal config types in scheduling plugin args
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-29 17:07:10 -04:00
Aldo Culquicondor
29f5adee7f
Remove wrapper around base LeaderElectionConfiguration
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-28 15:44:35 -04:00
Aldo Culquicondor
ce05382b58
Use RawExtension and Object for external and internal scheduling plugin args, respectively
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-04-14 13:44:42 -04:00
gavinfish
1865a104a9
Remove kubescheduler.config.k8s.io/v1alpha1
2020-03-21 15:11:48 +08:00
Aldo Culquicondor
07c4982245
Add unit and integration tests for multiple profiles support
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-26 10:14:03 -05:00
Aldo Culquicondor
9e71741d06
Add Profiles to kubescheduler.config.k8s.io/v1alpha2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-24 09:45:46 -05:00
Aldo Culquicondor
99bda6fac0
Remove HardPodAffinityWeight from v1alpha2
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-02-13 11:59:56 -05:00
skilxn-go
f5b7e3cca3
Rename PostFilter
plugin to PreScore
2020-02-12 23:25:08 +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
Mike Danese
d55d6175f8
refactor
2020-01-29 08:50:45 -08:00
Abdullah Gharaibeh
9fb380ceff
set default percentageOfNodesToScore in kube-scheduler back to 0 (maning adaptive)
2019-11-09 06:34:06 -05:00
Alex Wang
e85ebccb57
enable profiling by default in the scheduler
2019-11-06 15:25:35 +08:00
Mike Dame
9e2591f867
Change scheduler ComponentConfig fields to nilable
...
As part of graduating the scheduler's component config to beta, we require configurable fields to be nilable pointers (see https://github.com/kubernetes/kubernetes/issues/78109 ). This enables the ability to distinguish between default and unset values. We are only applying this change to external types, and reacting in our defaulting logic. This also reverts existing internal component config fields which were pointers to be non-pointers, for consistency.
2019-11-05 17:06:06 -05:00
obitech
b15aba547a
Add lenient decoding path for v1alpha1 kube-scheduler config
...
This implements a lenient path for decoding a kube-scheduler config file.
The config file gets decoded with a strict serializer first, if that fails a lenient
CodecFactory that has just v1alpha1 registered into it is used for decoding. The lenient
path is to be dropped when support for v1alpha1 is dropped.
For more information on the discussion see #82924 and the linked PRs.
2019-10-31 13:43:52 +01:00
wojtekt
ce499ac286
Migrate components to EndpointsLeases leader election lock
2019-10-28 09:09:03 +01:00
draveness
9646afb1f5
feat: add pod initial/max backoff duration to config API
2019-10-09 19:48:28 +08: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
chenyixiang
41a435a812
migrate scheduler options to resourceName & resourceNamespace
...
Change-Id: I743eda488320c97c123b49018d7efcc57525b152
2019-08-03 11:42:47 +08:00
JieJhih Jhang
2cd5fc54a1
add scheduling framework configuration
...
update bazel build
fix get plugin config method
initialize only needed plugins
fix unit test
fix import duplicate package
update bazel
add docstrings
add weight field to plugin
add plugin to v1alpha1
add plugins at appropriate extension points
remove todo statement
fix import package file path
set plugin json schema
add plugin unit test to option
initial plugin in test integration
initialize only needed plugins
update bazel
rename func
change plugins needed logic
remove v1 alias
change the comment
fix alias shorter
remove blank line
change docstrings
fix map bool to struct
add some docstrings
add unreserve plugin
fix docstrings
move variable inside the for loop
make if else statement cleaner
remove plugin config from reserve plugin unit test
add plugin config and reduce unnecessary options for unit test
update bazel
fix race condition
fix permit plugin integration
change plugins to be pointer
change weight to int32
fix package alias
initial queue sort plugin
rename unreserve plugin
redesign plugin struct
update docstrings
check queue sort plugin amount
fix error message
fix condition
change plugin struct
add disabled plugin for unit test
fix docstrings
handle nil plugin set
2019-05-18 06:30:28 +08:00
WanLinghao
f510f49955
Remove dead code about failure-domains option in kube-scheduler
2019-03-18 14:25:04 +08:00
Lucas Käldström
0140c82c16
Updated references from k8s.io/{apiserver,apimachinery} to the new k8s.io/component-base repo. Co-authored-by @Klaven
2019-01-06 14:01:26 +02:00
Guoliang Wang
6515c4e09b
Set percentage of nodes scored in each cycle dynamically based on the cluster size
2018-12-20 11:20:00 +08:00
tanshanshan
cb95edafe8
kube-scheduler: enable secure ports 10259
2018-11-08 16:43:59 +01:00
Jordan Liggitt
33a866c470
Remove temporary workaround for scheduler alpha config-loading
2018-10-20 01:07:28 -04:00
Jordan Liggitt
761ac275b8
Coerce componentconfig/v1alpha1 KubeSchedulerConfiguration to kubescheduler.config.k8s.io/v1alpha1
2018-09-14 14:40:22 -04:00
Michelle Au
e124159990
Add scheduler option for bind timeout
2018-09-04 17:25:23 -07:00
Di Xu
7c68c585f4
use external KubeSchedulerConfiguration
2018-08-24 10:58:09 +08:00
Bobby (Babak) Salamat
abb70aee98
Add a scheduler config argument to set the percentage of nodes to score
2018-08-17 11:18:51 -07:00
Jordan Liggitt
13de114286
Add test for scheduler config defaults
2018-08-16 10:39:19 -04:00
Lucas Käldström
4bef926218
Remove references to the config structs that have moved to their own shared packages
2018-08-14 19:02:06 +03:00
Lucas Käldström
2ff9bd6699
Rename the KubeConfigFile field to Kubeconfig in ClientConnectionConfiguration
2018-08-08 22:25:55 +03:00