Jonathan Basseri
30b89d830b
Move scheduler code out of plugin directory.
...
This moves plugin/pkg/scheduler to pkg/scheduler and
plugin/cmd/kube-scheduler to cmd/kube-scheduler.
Bulk of the work was done with gomvpkg, except for kube-scheduler main
package.
2018-01-05 15:05:01 -08:00
Michelle Au
01a8772111
Scheduler volume cache plumbing and predicate invalidation
2017-11-21 23:19:43 -08:00
Bobby (Babak) Salamat
9a5d058e5e
Add PodDisruptionBudget to scheduler cache.
2017-10-20 23:22:02 -07:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
supereagle
edce96c5b6
use the core client with version
2017-07-26 19:16:02 +08:00
supereagle
adc0eef43e
remove duplicated import and wrong alias name of api package
2017-07-25 10:04:25 +08:00
Harry Zhang
0e8517875e
Update factory.go informers to update equivalence cache
...
Fix tombstone
Add e2e to verify equivalence cache
Addressing nits in factory,go and e2e
Update build files
2017-07-18 23:55:01 +08:00
Jacob Simpson
8bcbbd4d08
Migrate api.Registry to testapi.Groups in tests.
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f2d3220a11
run root-rewrite-import-client-go-api-types
2017-06-22 11:30:59 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Clayton Coleman
8cd95c78c4
Scheduler should use a shared informer
...
Can be used either from a true shared informer or a local shared
informer created just for the scheduler.
2017-05-22 13:50:14 -04:00
Wojciech Tyczynski
8de8446840
Revert "Scheduler should use shared informer for pods"
...
This reverts commit 479f01d340
.
2017-05-22 09:03:35 +02:00
Clayton Coleman
479f01d340
Scheduler should use shared informer for pods
...
Previously, the scheduler created two separate list watchers. This
changes the scheduler to be able to leverage a shared informer, whether
passed in externally or spawned using the new in place method. This
removes the last use of a "special" informer in the codebase.
Allows someone wrapping the scheduler to use a shared informer if they
have more information avaliable.
2017-05-20 14:19:49 -04:00
Bobby Salamat
ef686716ba
Add support for statefulset spreading to the scheduler
2017-02-27 18:04:08 -08:00
Andy Goldstein
9d8d6ad16c
Switch scheduler to use generated listers/informers
...
Where possible, switch the scheduler to use generated listers and
informers. There are still some places where it probably makes more
sense to use one-off reflectors/informers (listing/watching just a
single node, listing/watching scheduled & unscheduled pods using a field
selector).
2017-02-23 09:57:12 -05:00
Wojciech Tyczynski
3de7195cf8
Remove default failure domains from anti-affinity feature
2017-02-16 13:32:34 +01:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
jayunit100
8439f81f2d
NewSchedulerFromInterface implementation
2017-01-25 10:21:27 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
jayunit100
a98d14d2c5
[scheduler] interface for configuration factory, configurator.
2017-01-18 15:06:16 -05:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -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
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Chao Xu
f3b5d514ab
test/integration
2016-11-23 15:53:09 -08: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
gmarek
be57ca5015
Generalize Pod creation across e2e and integration tests
2016-10-26 11:52:14 +02:00
gmarek
fbb3d6bf88
Generalize Node preparation for e2e and integration tests
2016-10-20 11:51:41 +02: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
jayunit100
856899b38c
Update scheduler perf to spin up similar client to other tests
2016-10-12 23:50:07 -04:00
deads2k
406c0a36ae
cleanup cruft from API server structs
2016-10-11 10:56:05 -04:00
deads2k
518d5500c7
remove testapi.Default.GroupVersion
2016-10-07 10:10:54 -04:00
gmarek
bb71f9473f
Small update to scheduler benchmark
2016-10-06 17:26:39 +02:00
Dr. Stefan Schimanski
8391a19b57
Decouple defaulting from genericapiserver and master
2016-09-28 23:16:09 +02:00
Dr. Stefan Schimanski
b4c6a68036
Unify genericapiserver Config.New() and master Config.New()
2016-09-28 19:19:54 +02:00
jayunit100
a1481f5a3e
component tests as integration-tests with short option.
2016-09-16 15:22:08 -04:00