Dr. Stefan Schimanski
82826ec273
pkg/util/flag: move to k8s.io/apiserver
2017-01-24 20:56:03 +01:00
Dr. Stefan Schimanski
a6b2ebb50c
pkg/flag: make feature gate extensible and split between generic and kube
2017-01-24 20:56:03 +01:00
Dr. Stefan Schimanski
56d60cfae6
pkg/util: move flags from pkg/util/config to pkg/util/flags
2017-01-24 20:56:03 +01:00
Antoine Pelisse
62af7dd33d
OWNERS: Update latest OWNERS files
...
These files have been created lately, so we don't have much information
about them anyway, so let's just:
- Remove assignees and make them approvers
- Copy approves as reviewers
2017-01-23 10:05:48 -08:00
deads2k
335ef747d6
mechanical
2017-01-23 10:03:55 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
deads2k
c587b8a21e
re-run client-gen
2017-01-20 08:02:36 -05:00
Kubernetes Submit Queue
05c2a0825e
Merge pull request #38871 from k82cn/k8s_25318
...
Automatic merge from submit-queue
Made multi-scheduler graduated to Beta and then v1.
fixes #25318
2017-01-19 07:58:51 -08:00
Klaus Ma
c8c4b81963
Made multi-scheduler graduated to Beta and then v1.
2017-01-19 20:16:01 +08:00
Dr. Stefan Schimanski
3d9449a353
genericapiserver: fix imports
2017-01-19 13:06:47 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Jeff Grafton
20d221f75c
Enable auto-generating sources rules
2017-01-05 14:14:13 -08:00
deads2k
4d7fcae85a
mechanicals
2017-01-05 11:14:27 -05:00
Mike Danese
161c391f44
autogenerated
2016-12-29 13:04:10 -08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Kubernetes Submit Queue
65238bc390
Merge pull request #38572 from hongchaodeng/sr
...
Automatic merge from submit-queue (batch tested with PRs 38315, 38624, 38572, 38544)
scheduler: refactor main entry Run()
The kube-scheduler/app.Run() is the main entry of scheduler program.
It's enormous.
This PR tries to clean it up. Should be more modular and readable.
2016-12-12 19:42:35 -08:00
Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Hongchao Deng
bcd3aac291
bazel update
2016-12-12 13:23:17 -08:00
Hongchao Deng
a565648761
scheduler: refactor main entry Run()
2016-12-12 13:23:17 -08:00
AdoHe
eef143ba39
scheduler remove init method
2016-12-05 06:22:50 -05:00
Kubernetes Submit Queue
4bc6e717ed
Merge pull request #37357 from gmarek/profilinig
...
Automatic merge from submit-queue (batch tested with PRs 36263, 36755, 37357, 37222, 37524)
Add flag to enable contention profiling in scheduler.
```release-note
Add flag to enable contention profiling in scheduler.
```
2016-12-02 16:26:47 -08:00
Chao Xu
bcc783c594
run hack/update-all.sh
2016-11-23 15:53:09 -08:00
Chao Xu
f782aba56e
plugin/scheduler
2016-11-23 15:53:09 -08:00
gmarek
d8a040fee5
Add flag to enable contention profiling in scheduler.
2016-11-23 09:24:27 +01:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Clayton Coleman
957c0955aa
Run defaulting on the scheduler startup
2016-10-18 21:07:35 -04:00
Jan Chaloupka
19ab3c6140
replace kubeclient with kubeclientset in scheduler factory
...
Current factory's client type does not allow to use different client implementing the same interface.
2016-10-14 14:43:43 +02:00
Timothy St. Clair
b65af384ba
Remove scheduler flags that were marked as deprecated 2+ releases ago.
2016-10-10 13:29:19 -05:00
Timothy St. Clair
4a9f72b59f
Abstraction of endpoints in leaderelection code
2016-09-29 23:42:00 -05:00
Wojciech Tyczynski
cbcce2c90f
Set UserAgent in LeaderElection clients.
2016-09-27 15:22:40 +02:00
deads2k
b83a317003
switch controller manager to generated clientset
2016-09-20 12:53:47 -04:00
Jeff Lowdermilk
51198f59da
Add --feature-gates to kube-system components
...
apiserver,scheduler,controller-manager,proxy,kubelet all get
flag. Using one variable to plumb through config via salt/init
scripts for GCE and GKE
2016-08-19 09:07:43 -07:00
Clayton Coleman
5f8366aac3
Convert() should accept the new conversion Context value
...
Allows Convert() to reuse the same conversions as ConvertToVersion
without being overly coupled to the version.
2016-08-18 14:45:20 -04:00
Chao Xu
a771578a1c
move pkg/util/ files to their own package to reduce client-go dependencies
2016-08-05 23:32:02 -07:00
Filip Grzadkowski
69e9786383
Change defaults for leader election for scheduler and controller manager
2016-07-20 11:36:15 +02:00
Lucas Käldström
88ea80b572
Remove GOMAXPROCS() calls because they are unnecessary
2016-07-19 11:08:21 +03:00
k8s-merge-robot
9e0a2d3a6b
Merge pull request #28203 from ping035627/ping035627-0629
...
Automatic merge from submit-queue
Add error log for Run function in server.go
When clientcmd.BuildConfigFromFlags and os.Hostname return error, there are no log information in Run function, neither did the upper function(main of scheduler), add it, I suggest.
2016-06-29 21:03:05 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
PingWang
989416b329
Add error log for Run function in server.go
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2016-06-29 11:11:52 +08:00
Wojciech Tyczynski
0f881d6120
Use protobufs by default to communicate with apiserver
2016-05-21 11:38:32 +02:00
Kevin
82ba4f077e
implement inter pod topological affinity and anti-affinity
2016-05-06 06:46:23 +00:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Wojciech Tyczynski
d6896fa45a
Allow setting content-type in binaries
2016-04-21 14:12:13 +02:00
k8s-merge-robot
bf0e6e0047
Merge pull request #23261 from hongchaodeng/sched
...
Automatic merge from submit-queue
kube-scheduler: cleanup duplicate GetAlgorithmProvider()
See [here](ae88f08af0/plugin/pkg/scheduler/factory/factory.go (L177-L180)
).
The check is duplicate since CreateFromProvider will also do it.
2016-04-11 10:01:16 -07:00
Hongchao Deng
dc91b82a3f
kube-scheduler: cleanup duplicate GetAlgorithmProvider()
2016-03-20 14:29:10 -07:00
harry
f19d59cf35
Move flag into sub pkg
2016-03-14 21:30:38 +08:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05:00
Mike Danese
5ec02bd021
add http handler to export configuration state
2016-02-24 14:12:28 -08:00
Mike Danese
b1743a6887
this is a manual reversion of #20702
...
I can't revert with github which says "Sorry, this pull request couldn’t be
reverted automatically. It may have already been reverted, or the content may
have changed since it was merged."
Reverts commit: 0c191e787b
2016-02-05 16:34:02 -08:00
gmarek
0c191e787b
Split controller flags between controllers
2016-02-05 12:17:51 +01:00
Mike Danese
7df86e1ecf
create external api for scheduler config
...
move defaulting into external pacakge
2016-02-02 23:17:18 -08:00
Mike Danese
126b1df879
Create componentconfig object for scheduler configuration.
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-28 23:17:00 -08:00
Clayton Coleman
4a6935b31f
Remaining codec change refactors
2016-01-22 13:27:27 -05:00
gmarek
106e66be3b
Readd scheduler flags and mark them as deprecated
2016-01-19 14:20:00 +01:00
k8s-merge-robot
f2d273d481
Merge pull request #19128 from resouer/qps-limit
...
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
Mike Danese
daa7040195
move leader election configuration into component configuration
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-14 11:20:09 -08:00
harry
080cb60dab
Fix duplicated rate limit in scheduler
...
Remove BindingRateLimiterSaturation metrics
Update generated doc
2016-01-13 20:51:55 +08:00
Mike Danese
f71657d9a6
retrofit the scheduler with the leader election client.
...
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-12 21:37:03 -08:00
Clayton Coleman
715b77cbcd
Split proxy and scheduler arguments
...
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05:00
HaiyangDING
d9f3607292
Implement multi-scheduler:
...
1. Name default scheduler with name `kube-scheduler`
2. The default scheduler only schedules the pods meeting the following condition:
- the pod has no annotation "scheduler.alpha.kubernetes.io/name: <scheduler-name>"
- the pod has annotation "scheduler.alpha.kubernetes.io/name: kube-scheduler"
update gofmt
update according to @david's review
run hack/test-integration.sh, hack/test-go.sh and local e2e.test
2015-12-22 10:49:40 +08:00
gmarek
4852ca23ef
Make getSchedulingLatency use master proxy
2015-12-14 16:08:34 +01:00
Mike Danese
fb056c47b2
use inClusterConfig before using default config for cluster components
2015-11-17 10:37:40 -08:00
feisky
13dce74adb
Gendocs for docs/admin/kube-*
2015-10-25 19:24:23 +08:00
Steve Sloka
4302208aa9
globally search/replace 'KubeApiQps' to 'KubeAPIQPS' and 'KubeApiBurst' to 'KubeAPIBurst' to match GO rules
2015-10-23 08:24:19 -04:00
Aaron Crickenberger
69351e3e88
Expose kube-api burst/qps settings for kube components
...
Default to hardcodes for components that had them, and 5.0 qps, 10 burst
for those that relied on client defaults
Unclear if maybe it'd be better to just assume these are set as part of
the incoming kubeconfig. For now just exposing them as flags since it's
easier for me to manually tweak.
2015-10-12 11:56:15 -04:00
Wojciech Tyczynski
088de9b572
Increase scheduler QPS limits
2015-10-07 11:20:14 +02:00
Daniel Smith
b225c1d47a
Run gofmt (separate commit for easy rebases)
2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09
Move version agnostic parts of client
...
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Eric Paris
fe6b633e2a
Convert for util.IP to just use a net.IP
...
pflag can handle IP addresses so use the pflag code instead of doing it
ourselves. This means our code just uses net.IP and we don't have all of
the useless casting back and forth!
2015-08-10 10:15:05 -04:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
gmarek
4cc0a2f117
Allow changing Schedulers RateLimitter setting during startup.
2015-08-03 15:27:19 +02:00
feihujiang
ebc8eab590
get Events to be logged
2015-06-03 15:05:07 +08:00
Prashanth Balasubramanian
4004a68ae9
Limit the scheduler to a burst qps of 30 and rate limit pod binding
2015-05-27 16:35:09 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Tim Hockin
a3d45fada8
Change flags to use dashes in help
2015-04-27 15:11:03 -07:00
dingh
71b98840c8
Listing available algorithm providers in scheduler
...
List the available algorithm providers with 'kube-scheduler --help' under field `algorithm_provider`
2015-04-22 06:54:24 +08:00
Eric Tune
6081fa52a7
controller, scheduler, proxy use kubeconfig
...
--master option still supported.
--kubeconfig option added to kube-proxy,
kube-scheduler, and kube-controller-manager
binaries.
Kube-proxy now always makes some kind of API
source, since that is its only kind of config.
Warn if it is using a default client, which probably won't work.
Uses the clientcmd builder.
2015-04-17 12:44:17 -07:00
Timothy St. Clair
2b60111fca
Performance change to option enable client.QPS, client.Burst
...
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Dawn Chen
fd4fbef519
Install /healthz to kube-scheduler
2015-04-09 15:52:27 -07:00
Dawn Chen
d3d2948976
Revert "Revert "Fix scheduler crashes when profiling is enabled""
...
This reverts commit a945068eb4
.
2015-04-09 15:37:59 -07:00
Fabio Yeon
a945068eb4
Revert "Fix scheduler crashes when profiling is enabled"
2015-04-09 15:06:32 -07:00
Wojciech Tyczynski
51a2d2db45
Fix scheduler profiling
2015-04-09 18:49:40 +02:00
Filip Grzadkowski
25f95b0672
Add basic latency metrics to scheduler.
2015-04-02 19:24:55 +02:00
saadali
e0f71cb21f
Make each new instance of kubelet generate a new event channel (instead of reusing existing).
2015-03-30 14:22:16 -07:00
Clayton Coleman
015bc3b7bd
Remove global map from healthz
...
It currently is impossible to use two healthz handlers on different
ports in the same process. This removes the global variables in favor
of requiring the consumer to specify all health checks up front.
2015-03-19 19:49:44 -04:00
Timothy St. Clair
7eebf674d4
Update to option enable profiling on the master daemon processes.
...
--profiling=true , default is false
2015-03-13 10:45:01 -05:00
Paul Morie
02b18edac6
Allow multiple sources to be used with record package
2015-03-05 13:54:29 -05:00
Abhishek Gupta
3607a16293
Implementing PR feedback
2015-03-02 10:00:19 -08:00
Abhishek Gupta
548e0da567
Configuring scheduler via json configuration file
2015-03-02 10:00:19 -08:00
Daniel Smith
1e679f0069
Add GOMAXPROCS in a few more places
2015-02-20 11:22:46 -08:00
Tim Hockin
5f021cfc3e
move pkg/scheduler/server to cmd/kube-scheduler/app
2015-02-20 08:49:12 -08:00
Joe Beda
b89454a48e
Convert the scheduler binary to hyperkube.
2015-02-02 10:01:36 -08:00
Mike Danese
e3da5e15bc
added algorithm provider cli option to the kube-scheduler command and renamed default provider to follow naming convention
2015-01-15 16:27:25 -08:00
Joe Beda
6bd6b905f5
Address code review comments
...
Add some documentation.
Create new util.InitFlags() function to merge and parse in one step.
2015-01-15 09:12:20 -08:00
Joe Beda
dcd00c936e
Move all kubernetes to posix flags
2015-01-15 09:12:19 -08:00