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
Yecheng Fu
214ea1a9d3
Update scheduler to use new volume scheduling library
...
To fix scheme issue, use k8s.io/client-go/kubernetes/scheme instead of
legacyscheme.
2019-05-02 14:57:47 +08:00
Bobby (Babak) Salamat
83828bcb2d
autogenerated files
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
77824f5135
Change scheduler constructors to receive a plugin registry.
2019-04-29 16:40:56 -07:00
Shintaro Murakami
28b3cff13c
Remove redundant wait for cache sync
2019-04-13 08:12:33 +09:00
leigh capili
47e52d2981
Refactor loops over SupportedMediaTypes() where mediaType is used to match a single SerializerInfo{}
...
We have an existing helper function for this: runtime.SerializerInfoForMediaType()
This is common prep-work for encoding runtime.Objects into JSON/YAML for transmission over the wire or writing to ComponentConfigs.
2019-04-04 19:01:01 -06:00
Kubernetes Prow Robot
e9c42a15f7
Merge pull request #73672 from WanLinghao/failure_domain_remove
...
Remove dead code about failure-domains option in kube-scheduler
2019-03-30 18:22:33 -07:00
WanLinghao
f510f49955
Remove dead code about failure-domains option in kube-scheduler
2019-03-18 14:25:04 +08:00
liurui
0a1227c2b1
fix typo
2019-03-11 11:19:39 +08:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
PingWang
d8e3d11c8b
Fix function comment to consistent with its name
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2019-02-11 10:51:35 +08:00
Kubernetes Prow Robot
d3a2566371
Merge pull request #73109 from palash25/verlog
...
Add version logging to kube-scheduler
2019-01-25 15:28:08 -08:00
Kubernetes Prow Robot
d027ecfa97
Merge pull request #70778 from wongma7/lease
...
Add Lease implementation to leaderelection package
2019-01-24 08:45:25 -08:00
Palash Nigam
e0bbce2a8a
Add version logging to kube-scheduler
...
Related to: #27744
2019-01-24 10:58:41 +05:30
Matthew Wong
410175851c
Add Lease implementation to leaderelection package
2019-01-23 10:50:53 -05:00
Kubernetes Prow Robot
26d58d37a7
Merge pull request #72970 from sttts/sttts-wait-for-http-server-finished-shutdown
...
apiserver: sync with http server shutdown to flush existing connections
2019-01-18 03:06:36 -08:00
Dr. Stefan Schimanski
5b47f99164
apiserver: sync with https server shutdown to flush existing connections
2019-01-18 10:56:38 +01:00
Kubernetes Prow Robot
2c8b571d57
Merge pull request #71875 from wgliang/cleanup/remove-newfrom-functions
...
Move users of `factory.NewConfigFactory` to `scheduler.New`
2019-01-09 13:55:51 -08:00
Guoliang Wang
3c24c99b08
Move users of factory.NewConfigFactory to scheduler.New
2019-01-09 06:40:30 +08:00
Lucas Käldström
1edd2723f8
autogenerated files
2019-01-06 15:48:53 +02: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
Kubernetes Prow Robot
ad579a58da
Merge pull request #72011 from ping035627/k8s-181213
...
Add Broadcaster.StartLogging for scheduler
2019-01-03 20:21:43 -08:00
Jordan Liggitt
73dcfe12da
Stop checking VolumeScheduling feature gate
2018-12-27 17:45:45 -05:00
PingWang
ba01a6e960
Add Broadcaster.StartLogging
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
modify StartLogging to V(6)
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2018-12-21 08:55:48 +08: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
wangqingcan
1081e919e3
Eclass Task 1: clean up old equiv class code
...
Co-authored-by: Harry Zhang <resouer@gmail.com >
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com >
2018-12-17 17:05:49 -08:00
Jordan Liggitt
416e114215
Allow kube-scheduler to tolerate cluster auth config lookup failure
2018-12-05 14:13:47 -05:00
k8s-ci-robot
79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
...
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
k8s-ci-robot
8b11fda27b
Merge pull request #67931 from tanshanshan/littleprint
...
make error info clearly
2018-11-28 21:44:28 -08:00
Jordan Liggitt
d440ecdd3b
Update non-test code to use DefaultMutableFeatureGate
2018-11-21 11:51:33 -05:00
Bobby (Babak) Salamat
34b4a5bbee
Add watchdog for leader election logic getting wedged
2018-11-15 11:02:14 -08:00
stewart-yu
529dbd27ac
auto-generated file
2018-11-11 17:19:38 +08:00
stewart-yu
a77652e9ab
kube-scheduler: output flags in logical sections
2018-11-11 17:19:38 +08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
Dr. Stefan Schimanski
1588af4031
kube-scheduler: add secure serving and authn/z integration tests
2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski
0ba66130b3
kube-scheduler: split out cmd Run func
2018-11-08 16:43:59 +01:00
Dr. Stefan Schimanski
d91feb6d18
kube-scheduler: move stopCh creation out of scheduler factory code
...
Enforces clean ownership of the channel.
2018-11-08 16:43:59 +01: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
k8s-ci-robot
cf3a930938
Merge pull request #69607 from mikedanese/audctx
...
tokenreview: add APIAudiences config to generic API server and augment context
2018-10-15 19:03:43 -07:00
wangqingcan
608911d5ac
add test for new constructor
2018-10-10 17:15:10 +08:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
Mike Danese
21fd8f2041
tokenreview: add APIAudiences config to generic API server and augment context
2018-10-09 22:47:10 -07:00
k8s-ci-robot
3c43f089b2
Merge pull request #69155 from mooncak/fix_duplicate_words
...
remove duplicate words in files
2018-09-27 12:21:46 -07:00
mooncake
9c561d0c68
remove duplicate words in files
2018-09-27 22:58:47 +08:00
k8s-ci-robot
2662ca309d
Merge pull request #69037 from shubheksha/fix/68964-simplify-run-method-kube-scheduler-server
...
Simplify kube-scheduler's run() method
2018-09-27 07:18:11 -07:00
k8s-ci-robot
823530d4db
Merge pull request #68917 from zhangmingld/fixwordserr
...
Fix some typo err
2018-09-26 22:59:32 -07:00
Shubheksha Jalan
564ee22123
simplify run method of kube-scheduler cmd
2018-09-26 00:39:37 +05:30
zhangmingld
3648f73337
fix some typo
2018-09-21 10:20:21 +08:00