k8s-merge-robot
2347d0f047
Merge pull request #24601 from deads2k/qualify-admission-attributes
...
Automatic merge from submit-queue
fully qualify admission resources and kinds
Fully qualifies the `Kind` and `Resource` fields for admission attributes. The information was getting filtered at the `RESTHandler` before.
@derekwaynecarr
2016-04-28 05:12:28 -07:00
k8s-merge-robot
00308f7a9f
Merge pull request #24598 from wojtek-t/improve_scheduler_predicates
...
Automatic merge from submit-queue
Store node information in NodeInfo
This is significantly improving scheduler throughput.
On 1000-node cluster:
- empty cluster: ~70pods/s
- full cluster: ~45pods/s
Drop in throughput is mostly related to priority functions, which I will be looking into next (I already have some PR #24095 , but we need for more things before).
This is roughly ~40% increase.
However, we still need better understanding of predicate function, because in my opinion it should be even faster as it is now. I'm going to look into it next week.
@gmarek @hongchaodeng @xiang90
2016-04-28 02:17:59 -07:00
k8s-merge-robot
d0b887e4e0
Merge pull request #24595 from zhouhaibing089/httpserverclose
...
Automatic merge from submit-queue
Uncomment the code that caused by #19254
Fix https://github.com/kubernetes/kubernetes/issues/24546 .
@lavalamp
2016-04-28 01:41:16 -07:00
k8s-merge-robot
c7d1637a0b
Merge pull request #24525 from wojtek-t/scheduler_traces
...
Automatic merge from submit-queue
Add traces to scheduler
This will simplify performance debugging of scheduler.
@davidopp @hongchaodeng @xiang90
2016-04-27 07:16:07 -07:00
deads2k
0061479890
fully qualify admission resources and kinds
2016-04-26 07:55:33 -04:00
zhouhaibing089
bf1a3f99c0
Uncomment the code that cause by #19254
2016-04-25 23:21:31 +08:00
deads2k
d3c6363093
use single writer to improve quota performance
2016-04-25 10:42:26 -04:00
Wojciech Tyczynski
1835c8528d
Store node information in NodeInfo
2016-04-25 10:08:05 +02:00
k8s-merge-robot
c5df0bf23e
Merge pull request #24502 from cjcullen/subresource
...
Automatic merge from submit-queue
Add Subresource & Name to webhook authorizer.
Pass through the Subresource and Name fields from the `authorization.Attributes` to the `SubjectAccessReviewSpec.ResourceAttributes`.
2016-04-24 01:14:43 -07:00
k8s-merge-robot
733832c15a
Merge pull request #24377 from hongchaodeng/sched
...
Automatic merge from submit-queue
schedulercache: remove bind() from AssumePod
Due to #24197 , we make bind() asynchronous and don't need it anymore.
Submit this PR to clean it up.
2016-04-23 02:19:48 -07:00
gmarek
e0712f7e57
Fix MaxPods feature in scheduler
2016-04-22 22:49:50 +02:00
k8s-merge-robot
f4beccf000
Merge pull request #23066 from cjcullen/clientplugin
...
Automatic merge from submit-queue
Client auth provider plugin framework
Allows client plugins to modify the underlying transport to, for example, add custom authorization headers.
2016-04-21 17:30:28 -07:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
Wojciech Tyczynski
80901a5542
Add traces to scheduler
2016-04-20 15:19:19 +02:00
Wojciech Tyczynski
a4b3f47347
Add RC and container pors to scheduler benchmark
2016-04-20 15:10:57 +02:00
CJ Cullen
e53aa93836
Add Subresource & Name to webhook authorizer.
2016-04-19 21:43:40 -07:00
HaiyangDING
a5efb009c5
change predicate error format.
2016-04-17 08:48:03 +08:00
k8s-merge-robot
7664509c73
Merge pull request #24248 from wojtek-t/parallel_predicates
...
Automatic merge from submit-queue
Parallelize computing predicates in scheduler
@davidopp
2016-04-16 09:51:45 -07:00
Hongchao Deng
1eb331e009
schedulercache: remove bind() from AssumePod
2016-04-16 20:30:28 +08:00
CJ Cullen
03f9b5adc0
Add client auth plugin framework for kubectl with GCP auth plugin.
2016-04-14 17:49:16 -07:00
Wojciech Tyczynski
5a73a9d235
Parallelize computing predicates
2016-04-14 16:32:52 +02:00
Wojciech Tyczynski
545bf184ef
Simplify FailedPredicateMap
2016-04-14 10:58:35 +02:00
Wojciech Tyczynski
254b05761f
Asynchronous bindings
2016-04-14 09:52:25 +02:00
goltermann
a3104ba96c
Final vet fixes; enabling vet checks in verify scripts.
2016-04-13 13:51:51 -07:00
k8s-merge-robot
8eb19c7889
Merge pull request #22154 from sdminonne/service_nodeports_quotas
...
Automatic merge from submit-queue
Adding nodeports services to quota
To fix #21677
@derekwaynecarr
2016-04-13 05:50:27 -07:00
Salvatore Dario Minonne
15b7577454
Adding nodeports services to quota
2016-04-12 11:09:16 +02:00
HaiyangDING
41ed85479a
move predicates into library (address #12744 )
...
DONE:
1. refactor all predicates: predicates return fitOrNot(bool) and error(Error) in which the latter is of type
PredicateFailureError or InsufficientResourceError. (For violation of either MaxEBSVolumeCount or
MaxGCEPDVolumeCount, returns one same error type as ErrMaxVolumeCountExceeded)
2. GeneralPredicates() is a predicate function, which includes serveral other predicate functions (PodFitsResource,
PodFitsHost, PodFitsHostPort). It is registered as one of the predicates in DefaultAlgorithmProvider, and
is also called in canAdmitPod() in Kubelet and should be called by other components (like rescheduler, etc)
if necessary. See discussion in issue #12744
3. remove podNumber check from GeneralPredicates
4. HostName is now verified in Kubelet's canAdminPod(). add TestHostNameConflicts in kubelet_test.go
5. add getNodeAnyWay() method in Kubelet to get node information in standaloneMode
TODO:
1. determine which predicates should be included in GeneralPredicates()
2. separate GeneralPredicates() into:
a. GeneralPredicatesEvictPod() and
b. GeneralPredicatesNotEvictPod()
3. DaemonSet should use GeneralPredicates()
2016-04-11 00:57:03 +08:00
Jeff Lowdermilk
524bfde377
Merge pull request #23883 from liggitt/attis
...
Externalize immortal namespaces
2016-04-08 20:56:04 -07:00
Jeff Lowdermilk
2fb745f01d
Merge pull request #23661 from spxtr/oidc
...
Remove retries from most oidc tests.
2016-04-08 14:33:34 -07:00
Joe Finney
ae79677fd0
Remove global var for OIDC retry/backoff, and remove retries from unit tests.
2016-04-07 14:18:29 -07:00
Jordan Liggitt
bef1d6e82e
Externalize immortal namespaces
2016-04-05 16:28:00 -04:00
Wojciech Tyczynski
2699be2e7e
Switch api.ObjetaMetaFor to meta.Accessor
2016-03-31 17:52:31 +02:00
k8s-merge-robot
1ad3049ed6
Merge pull request #23288 from smarterclayton/refactor_codec
...
Auto commit by PR queue bot
2016-03-26 10:47:58 -07:00
goltermann
32d569d6c7
Fixing all the "composite literal uses unkeyed fields" Vet errors.
2016-03-25 15:25:09 -07:00
k8s-merge-robot
79d1e53b94
Merge pull request #23428 from wojtek-t/fix_scheduler_test
...
Auto commit by PR queue bot
2016-03-25 06:17:19 -07:00
k8s-merge-robot
4e4ad61260
Merge pull request #23366 from goltermann/vet
...
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
Wojciech Tyczynski
1471a5b96b
Fix scheduler_test race
2016-03-24 12:31:57 +01:00
k8s-merge-robot
4bfd42bbc2
Merge pull request #23240 from zhouhaibing089/keystone_fix
...
Auto commit by PR queue bot
2016-03-24 00:17:18 -07:00
Clayton Coleman
54eaa56b92
Add a streaming and "raw" abstraction to codec factory
2016-03-23 17:25:20 -04:00
k8s-merge-robot
6441e1fc33
Merge pull request #23280 from pweil-/limitrange-supportsfunc
...
Auto commit by PR queue bot
2016-03-22 22:00:47 -07:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
zhouhaibing089
83248a9783
move keystone package to password since it is a password authenticator
2016-03-22 23:27:28 +08:00
Wojciech Tyczynski
ebcc8f737c
Parallelize computing selector spreading priority in scheduler.
2016-03-22 14:09:58 +01:00
Paul Weil
14620447c1
allow supported resource overrides in the limitranger plugin
2016-03-21 13:03:18 -04:00
harry
b0900bf0d4
Refactor diff into sub pkg
2016-03-21 20:21:39 +08:00
Harry Zhang
a4d04095d0
Refactor crlf & crypto
2016-03-21 20:20:05 +08:00
k8s-merge-robot
e4dd8c1e1f
Merge pull request #22852 from miminar/no-admit-without-namespace
...
Auto commit by PR queue bot
2016-03-18 16:09:28 -07:00
deads2k
ab03317d96
support CIDRs in NO_PROXY
2016-03-16 16:22:54 -04:00
Phillip Wittrock
8a952748a1
Merge pull request #22942 from jsafrane/devel/aws-more-devices
...
Allow up to 39 PVs attached to AWS node
2016-03-15 12:41:15 -07:00
Jan Safranek
f270cb1b9b
Allow 39 atached EBS devices.
...
AWS has soft support limit for 40 attached EBS devices. Assuming there is just
one root device, use the rest for persistent volumes.
The devices will have name /dev/xvdba - /dev/xvdcm, leaving /dev/sda - /dev/sdz
to the system.
Also, add better error handling and propagate error
"Too many EBS volumes attached to node XYZ" to a pod.
2016-03-15 17:28:59 +01:00
Michal Minar
2601ee56ab
Set a missing namespace on object to admit
...
Custom quota evaluators may need to query a target namespace of an input
object during quota admission check. For this, namespace needs to be
known.
Signed-off-by: Michal Minar <miminar@redhat.com>
2016-03-15 17:03:55 +01:00
k8s-merge-robot
73017b6de9
Merge pull request #22381 from hongchaodeng/cache
...
Auto commit by PR queue bot
2016-03-15 06:33:31 -07:00
derekwaynecarr
775c5a2652
Reduce namespace deletion test flakes by forcing a cache refresh when a namespace is initially deleted
2016-03-14 16:08:01 -04:00
Hongchao Deng
ae88f08af0
Scheduler: replace system modeler with scheduler cache
2016-03-14 09:03:41 -07:00
Mike Metral
2da0dbd6fd
fix typo
2016-03-12 14:06:41 +00:00
Brian Grant
58ba9ebf8c
Merge pull request #22865 from deads2k/fix-downward-api-leak
...
prevent disallowed secret refs from leaking via the downward API
2016-03-11 12:23:02 -08:00
Brian Grant
ac068cd178
Merge pull request #22727 from mml/racey
...
Guarantee we finish writing to the test log before the test exits.
2016-03-11 12:20:36 -08:00
deads2k
9d22f8b5a7
prevent disallowed secret refs from leaking via the downward API
2016-03-11 13:27:50 -05:00
k8s-merge-robot
5d58c74398
Merge pull request #22304 from ericchiang/bump_go_oidc
...
Auto commit by PR queue bot
2016-03-11 02:57:09 -08:00
Matt Liggett
547c3b449f
Guarantee we finish writing to the test log before the test exits.
...
Should fix #22614
2016-03-09 13:27:27 -08:00
gmarek
2c52e62622
Change scheduler logic from random to round-robin
2016-03-07 13:47:56 +01:00
Piotr Szczesniak
33cc3c7653
Fixed logging in scheduler
2016-03-05 10:53:06 +01:00
Wojciech Tyczynski
2f6d034cea
Workaround long latency of POST pods
2016-03-03 10:45:43 +01: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
Marek Grabowski
eb2f5153b3
Revert "Scheduler: replace system modeler with scheduler cache and do O(1) lookup for resource req"
2016-03-02 15:38:56 +01:00
Eric Chiang
8df55ddbe5
plugin/pkg/auth/authenticator/token/oidc: update test to new go-oidc types
...
The provider config has changed a little bit in go-oidc. It is more
complete and now throws errors when unmarshaling provider configs
that are missing required fields (as defined by the OpenID Connect
Discovery spec).
Update the oidc plugin to use the new type.
2016-03-01 11:39:18 -08:00
k8s-merge-robot
e7d0f06c4a
Merge pull request #21736 from resouer/check-register
...
Auto commit by PR queue bot
2016-03-01 02:21:56 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
k8s-merge-robot
6f8a951f87
Merge pull request #20446 from derekwaynecarr/quota_scopes
...
Auto commit by PR queue bot
2016-02-27 19:46:42 -08:00
k8s-merge-robot
03f356edb9
Merge pull request #20669 from hongchaodeng/sched
...
Auto commit by PR queue bot
2016-02-27 00:58:55 -08:00
k8s-merge-robot
00d99ac261
Merge pull request #20347 from ericchiang/authz_grpc
...
Auto commit by PR queue bot
2016-02-26 22:00:42 -08:00
derekwaynecarr
95df07aa9d
Improve overlapping quota behavior when there is a resource conflict
2016-02-26 20:34:15 -05:00
derekwaynecarr
af85fb57c3
Make ResourceQuota admission and controller work generically
2016-02-26 20:34:15 -05:00
Fabio Yeon
658f7ef397
Merge pull request #21738 from jsafrane/devel/fix-admission
...
Hot-fix admission of volumes that are being provisioned.
2016-02-26 16:05:04 -08:00
Hongchao Deng
f29a1d6c5c
scheduler: Scheduler: replace system modeler with scheduler cache
...
We're using the scheduler cache to do O(1) lookup for resource request
2016-02-26 09:22:29 -08:00
Harry Zhang
636e982ecd
Implement checking in predicates
2016-02-25 21:25:36 +08:00
derekwaynecarr
4858b484da
Fix flake in LimitRange e2e
2016-02-23 16:03:31 -05:00
k8s-merge-robot
7f1b699880
Merge pull request #21071 from soltysh/server_close
...
Auto commit by PR queue bot
2016-02-23 06:34:27 -08:00
Jan Safranek
a304e3478d
Hot-fix admission of volumes that are being provisioned.
...
This is a first-aid bandage to let admission controller ignore persistent
volumes that are being provisioned right now and thus may not exist in
external cloud infrastructure yet.
2016-02-23 09:46:40 +01:00
harry
b90550de25
Implement check for priority
2016-02-23 11:59:32 +08:00
Eric Chiang
3116346161
*: add webhook implementation of authorizer.Authorizer plugin
2016-02-22 11:39:07 -08:00
k8s-merge-robot
9b395b558e
Merge pull request #15476 from burmanm/hawkular_save
...
Auto commit by PR queue bot
2016-02-20 19:09:18 -08:00
k8s-merge-robot
807344da0b
Merge pull request #21235 from davidopp/affinity-docs
...
Auto commit by PR queue bot
2016-02-20 11:15:02 -08:00
k8s-merge-robot
3639e43df2
Merge pull request #21016 from hongchaodeng/cache
...
Auto commit by PR queue bot
2016-02-20 02:47:53 -08:00
k8s-merge-robot
94ad715f90
Merge pull request #21470 from deads2k/fix-limit-ranger
...
Auto commit by PR queue bot
2016-02-19 12:08:06 -08:00
deads2k
24d5329130
fix limitranger to handle latent caches without live lookups every time
2016-02-19 13:47:43 -05:00
k8s-merge-robot
057b8352ec
Merge pull request #21182 from vishh/repoTagsRename
...
Auto commit by PR queue bot
2016-02-19 08:56:09 -08:00
k8s-merge-robot
eb45154996
Merge pull request #21348 from caesarxuchao/generate-fake-for-1-2
...
Auto commit by PR queue bot
2016-02-18 23:02:05 -08:00
David Oppenheimer
053f1c6008
Update user guide and scheduler documentation to describe node affinity.
...
Register image priority locality function, which the original PR that introduced
it forgot to do. Change zone and region labels to beta.
2016-02-18 17:09:41 -08:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Vishnu kannan
2623fdde17
Improve the naming of fields in ContainerImage struct used in NodeStatus.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 15:45:22 -08:00
Hongchao Deng
5c3d303ba9
scheduler cache: API and implementation
2016-02-16 08:10:20 -08:00
k8s-merge-robot
8a815b919d
Merge pull request #21074 from mqliang/scheduler-ReplicaSet
...
Auto commit by PR queue bot
2016-02-16 01:48:33 -08:00
mqliang
0aab44a00d
add ReplicaSet support in scheduler
2016-02-16 14:34:46 +08:00
k8s-merge-robot
f366baeaeb
Merge pull request #21128 from yifan-gu/fix_oidc_tailing_slash_issuer
...
Auto commit by PR queue bot
2016-02-15 17:46:49 -08:00
derekwaynecarr
a03361bd84
Make default format right for nil values
2016-02-15 13:55:33 -05:00
k8s-merge-robot
4ff418ca50
Merge pull request #21057 from davidopp/work1
...
Auto commit by PR queue bot
2016-02-14 20:48:17 -08:00
David Oppenheimer
66368efad5
Comment out NodeAffinity.RequiredDuringSchedulingRequiredDuringExecution
...
because it is not yet implemented.
2016-02-14 17:46:13 -08:00
k8s-merge-robot
43fb544a4a
Merge pull request #21001 from ericchiang/oidc_groups
...
Auto commit by PR queue bot
2016-02-14 05:24:43 -08:00
k8s-merge-robot
a2ce07e554
Merge pull request #20752 from dcbw/oidc-test-flake
...
Auto commit by PR queue bot
2016-02-13 13:51:51 -08:00
Eric Chiang
92d37d5cc5
plugin/pkg/auth/authenticator/token/oidc: get groups from custom claim
2016-02-12 09:58:18 -08:00
Dan Williams
905dfd9b77
Fix another instance of golang #12262
...
Reliably reproducible on two up-to-date Fedora 23 machines using
go 1.5.3, both one Core i7-4770R and a Core i7-4790.
https://github.com/golang/go/issues/12262
2016-02-12 10:04:48 -06:00
Michael Burman
528be97b41
Hawkular support for the Initial Resources
2016-02-12 17:36:11 +02:00
Yifan Gu
36bd693d3a
oidc: Remove tailing slash before fetching the provider config.
2016-02-12 16:40:45 +08:00
Maciej Szulik
72654d347c
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-02-11 16:16:11 +01:00
Hongchao Deng
1cf4540b5d
priorities: move getNonzeroRequests() into util/ package
2016-02-10 08:35:00 -08:00
Hongchao Deng
9236e4a0b4
scheduler: change fit predicates and priority func as needed for optimization
2016-02-09 09:38:28 -08:00
k8s-merge-robot
fec0d127b3
Merge pull request #15938 from justinsb/aws_ebs_cleanup
...
Auto commit by PR queue bot
2016-02-08 21:42:52 -08:00
Oleg Shaldybin
3a36dfb306
Minor selectHost optimization in scheduler
...
Instead of sorting hosts by score, find max score and choose one of
the hosts with max score directly. Saves a little time on sorting and
avoids extra copying of HostPriorityList entries.
Test had to be updated as one of the test cases relied on having a
stable order from pre-sorting.
2016-02-08 12:37:37 -05:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
k8s-merge-robot
d001f4afea
Merge pull request #20254 from hongchaodeng/plugin
...
Auto commit by PR queue bot
2016-02-06 13:23:43 -08:00
k8s-merge-robot
8e56494ec5
Merge pull request #20140 from resouer/scheduler
...
Auto commit by PR queue bot
2016-02-05 20:08:31 -08:00
Chao Xu
184440f8ef
rename release_1_2 to internalclientset
2016-02-05 14:02:28 -08:00
k8s-merge-robot
175d0c57f2
Merge pull request #19880 from DirectXMan12/feature/limit-ebs-scheduler-predicate
...
Auto commit by PR queue bot
2016-02-05 09:26:42 -08:00
Chao Xu
1b047f8e67
rename legacy to core
2016-02-04 14:26:56 -08:00
k8s-merge-robot
65ebe19164
Merge pull request #20584 from caesarxuchao/release_1_2
...
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
Kevin
c8c82c1d8f
implement Node affinity and NodeSelector
2016-02-04 01:53:14 +00:00
Chao Xu
f9f5736b01
grep sed
2016-02-03 13:06:07 -08:00
Justin Santa Barbara
f61a5d0400
AWS: Switch arguments to AttachDisk/DetachDisk to match GCE
2016-02-03 20:43:23 +00:00
Justin Santa Barbara
6c87a4be7c
AWS: Handle deleting volume that no longer exists
...
The tests in particular double-delete volumes, so we need to handle this
graciously.
2016-02-03 20:43:14 +00:00
Justin Santa Barbara
1ae1db6027
AWS: Update copy-paste of GCE PD code to latest version
...
We are (sadly) using a copy-and-paste of the GCE PD code for AWS EBS.
This code hasn't been updated in a while, and it seems that the GCE code
has some code to make volume mounting more robust that we should copy.
2016-02-03 20:43:14 +00:00
harry
233a601130
Caculate priorities based on image locality
...
Add test for image score
Update generated docs
2016-02-03 21:01:26 +08:00
k8s-merge-robot
843c11e06a
Merge pull request #20452 from caesarxuchao/replace-client-kubelet
...
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Chao Xu
cddd7b56a4
replace client with clientset in kubelet and other places
2016-02-02 20:28:45 -08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Solly Ross
2d436ff080
Scheduler predicate for capping node volume count
...
For certain volume types (e.g. AWS EBS or GCE PD), a limitted
number of such volumes can be attached to a given node. This commit
introduces a predicate with allows cluster admins to cap
the maximum number of volumes matching a particular type attached to a
given node.
The volume type is configurable by passing a pair of filter functions,
and the maximum number of such volumes is configurable to allow node
admins to reserve a certain number of volumes for system use.
By default, the predicate is exposed as MaxEBSVolumeCount and
MaxGCEPDVolumeCount (for AWS ElasticBlocKStore and GCE PersistentDisk
volumes, respectively), each of which can be configured using the
`KUBE_MAX_PD_VOLS` environment variable.
Fixes #7835
2016-02-02 16:21:42 -05:00
k8s-merge-robot
32ab64ce5b
Merge pull request #19778 from resouer/runtime
...
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
Daniel Smith
4a7d70aef1
extend fake clock
2016-02-01 15:36:15 -08:00
k8s-merge-robot
feb4b4857c
Merge pull request #19890 from vishh/0-nodes
...
Auto commit by PR queue bot
2016-02-01 14:09:06 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
Marcin Wielgus
a14f791d8c
Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
...
This reverts commit b4188ec459
, reversing
changes made to 28951bd66a
.
2016-02-01 12:12:37 +01:00
k8s-merge-robot
3e04a45a95
Merge pull request #19910 from hongchaodeng/res
...
Auto commit by PR queue bot
2016-02-01 00:08:28 -08:00
Filip Grzadkowski
13480c171d
Revert "Yet another try to migrate to the new Heapster"
2016-01-29 15:03:49 +01:00
Piotr Szczesniak
0c5cc1bde1
Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
...
This reverts commit 06996d5af9
, reversing
changes made to b2f6e7d08f
.
2016-01-29 09:19:03 +01:00
Hongchao Deng
70408d2cbd
PluginFactoryArgs: Expose explicit fields
...
None of the embedded fields are used for inheritance methods. Expose
them for better code analysis.
2016-01-27 18:59:12 -08:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
k8s-merge-robot
2a83f5d5c7
Merge pull request #19906 from hongchaodeng/fiterror
...
Auto commit by PR queue bot
2016-01-26 13:36:37 -08:00
k8s-merge-robot
2286bd3a38
Merge pull request #19961 from mamikonyana/newrepo
...
Auto commit by PR queue bot
2016-01-25 19:51:23 -08:00
Quinton Hoole
10f7985dfb
Merge pull request #19995 from justinsb/gce_label_pd
...
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
Justin Santa Barbara
900567288b
Ubernetes Lite: Label volumes with zone information
...
When volumes are labeled, they will only be scheduled onto nodes in the
same zone.
2016-01-22 17:16:31 -05:00
Clayton Coleman
33085c0cf2
Update tests to handle codec changes
2016-01-22 13:27:26 -05:00
Arsen Mamikonyan
8b5e9e2885
Change repository references to https://github.com/kubernetes/kubernetes
2016-01-22 10:23:14 -05:00
Clayton Coleman
c1d932e44a
Switch API objects to not register per version codecs
...
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
Hongchao Deng
8e1bfad490
insufficient resource error: details of failure in failedPredicateMap
2016-01-21 21:49:00 -08:00
Alex Mohr
76f02d562a
Merge pull request #19083 from resouer/allocatable
...
Use Allocatable to replace Capacity
2016-01-21 16:05:05 -08:00
Alex Mohr
fd9310fa6e
Merge pull request #18452 from xiang90/refactor_nodiskconflicts
...
scheduler: clean up NoDiskConflict code in predicates.go
2016-01-21 10:58:41 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Hongchao Deng
5331ffc82f
FitError: return details of failure on each node
2016-01-20 22:38:41 -08:00
Vishnu kannan
21748701f1
Avoid nodes that have `0` cpu and memory capacity.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-20 15:34:58 -08:00
Harry Zhang
0202a206b8
Integration test to verify alloc works
...
Add integration test to verify allocatable can works
2016-01-20 15:36:19 +08:00
harry
e64fe82245
Use Allocatable to replace Capacity
...
Use allocate instead in priorities
2016-01-18 15:26:40 +08:00
k8s-merge-robot
98b190acf4
Merge pull request #19527 from hongchaodeng/pred
...
Auto commit by PR queue bot
2016-01-17 03:52:16 -08:00
k8s-merge-robot
4969f11089
Merge pull request #19439 from bprashanth/compute_dep
...
Auto commit by PR queue bot
2016-01-16 10:38:11 -08: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
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese
f9f4b74a29
Merge pull request #19449 from hongchaodeng/fitport
...
PodFitsHostPorts: small refactor and speedup
2016-01-14 11:56:14 -08:00
harry
080cb60dab
Fix duplicated rate limit in scheduler
...
Remove BindingRateLimiterSaturation metrics
Update generated doc
2016-01-13 20:51:55 +08:00
Hongchao Deng
252a956150
return error if got InsufficientResourceError and fit=true
2016-01-12 08:46:35 -08:00
Hongchao Deng
111b603c95
Remove FailedResourceType and return custom error
2016-01-12 08:41:30 -08:00
David Oppenheimer
8ac484793d
Comment out calls to httptest.Server.Close() to work around
...
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Prashanth Balasubramanian
cc09a603dd
Code changes
2016-01-11 16:27:12 -08:00
Saad Ali
9b415f0300
Revert "Remove FailedResourceType and return custom error"
2016-01-11 11:27:50 -08:00
Hongchao Deng
91fa5f8c88
PodFitsHostPorts: small refactor and speedup
2016-01-09 20:03:52 -08:00
Hongchao Deng
40e5e688cc
Remove FailedResourceType and return custom error
2016-01-07 13:47:23 -08:00
Hongchao Deng
2744447dba
scheduler metrics: change Summary to Histogram
2016-01-04 14:50:49 -08:00
Hongchao Deng
47a21aa285
scheduler metrics should only observe successful ops
2016-01-04 14:50:37 -08:00
k8s-merge-robot
cd097e3f86
Merge pull request #19088 from smarterclayton/separate_service_account
...
Auto commit by PR queue bot
2016-01-04 08:38:24 -08:00
Justin Santa Barbara
f9a6ac077e
Ubernetes Lite: Volumes can dictate zone scheduling
...
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.
So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels. This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.
Support for tagging GCE PVs will follow.
Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Clayton Coleman
9dad7e624c
Split the serviceaccount package into two parts
...
Public utility methods and JWT parsing, and controller specific logic.
Also remove the coupling between ServiceAccountTokenGetter and the
authenticator class.
2015-12-26 21:28:12 -05:00
k8s-merge-robot
21c01c05e3
Merge pull request #18902 from deads2k/gv-partial
...
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
k8s-merge-robot
e185b1028a
Merge pull request #18909 from ncdc/force-image-pulls-admission
...
Auto commit by PR queue bot
2015-12-23 14:53:31 -08:00
k8s-merge-robot
f4f4e5cb9f
Merge pull request #18817 from mqliang/schedulerSelector
...
Auto commit by PR queue bot
2015-12-23 12:09:19 -08:00
k8s-merge-robot
2c89a8d16d
Merge pull request #18416 from xiang90/r_scheduler
...
Auto commit by PR queue bot
2015-12-23 09:06:39 -08:00
Yifan Gu
04db432fb4
auth: Add Close() for OIDC authenticator.
2015-12-23 01:26:20 -08:00
Xiang Li
a0e6d68026
scheduler: fast check when there is no conflicts
2015-12-22 15:39:17 -08:00
Xiang Li
f3ced64a80
scheduler: a small refactor for generic scheduler
2015-12-22 15:36:41 -08:00
Andy Goldstein
f175a22443
Add admission controller to force image pulls
...
Add an admission controller that forces every container's image pull policy to
Always when a pod is created.
2015-12-22 10:32:40 -05:00
mqliang
e58eae313e
move filter logic to list&watch client
2015-12-22 19:32:18 +08: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
k8s-merge-robot
29754318ad
Merge pull request #18413 from xiang90/p_schedule
...
Auto commit by PR queue bot
2015-12-21 11:32:53 -08:00
deads2k
f5cb91af8e
simplified namespace related admission controllers
2015-12-21 09:26:06 -05:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
k8s-merge-robot
b97cfd8d8f
Merge pull request #18818 from mqliang/parseordie
...
Auto commit by PR queue bot
2015-12-20 15:08:38 -08:00
David Oppenheimer
7851d24d04
Merge pull request #18466 from xiang90/pod_fits
...
scheduler: clean up PodFitsResources
2015-12-18 22:11:05 -08:00
Xiang Li
7f4f754106
scheduler: calculate priority in parallel.
...
To improve the throughput of current scheduler, we can do
a simple optimization by calcluating priorities in parallel.
This doubles the throughput of density test, which has the default
config with 3 priority funcs (the spreading one does not actually
consume any computation time). It matches the expectation.
2015-12-18 19:13:54 -08:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
k8s-merge-robot
5c4479f542
Merge pull request #18442 from deads2k/gv-restmapper-10
...
Auto commit by PR queue bot
2015-12-17 06:06:43 -08:00
combk8s
f697732a5d
move parse or die logic to selector.go
2015-12-17 19:59:46 +08:00
Brendan Burns
0ee0e16bcd
Don't recreate the same map 3 times
2015-12-16 20:39:28 -08:00
k8s-merge-robot
ae9c61b943
Merge pull request #17915 from justinsb/multizone_spread_rcs
...
Auto commit by PR queue bot
2015-12-16 19:04:07 -08:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
k8s-merge-robot
e309583ff1
Merge pull request #18473 from smarterclayton/change_runtime_object
...
Auto commit by PR queue bot
2015-12-16 04:24:22 -08:00
k8s-merge-robot
f20cad179f
Merge pull request #18478 from yifan-gu/bump_go_oidc
...
Auto commit by PR queue bot
2015-12-15 20:46:19 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
deads2k
6e33403abf
update CodecFor for GroupVersion
2015-12-15 10:56:00 -05:00
Yifan Gu
207fb721b9
Godeps: bump go-oidc to fix the race in tests.
2015-12-14 13:32:16 -08:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Justin Santa Barbara
cd433c974f
Zone-scheduler: Fixes per code-review
2015-12-13 20:34:01 -05:00
Justin Santa Barbara
6aa16c744b
When scheduling, spread between zones if labeled
...
We already spread across nodes; we modify this spreading preference to
spread across zones when nodes are labeled with zone information.
2015-12-13 20:34:01 -05:00
Xiang Li
d8c6e6dc4e
scheduler: clean up PodFitsResources
2015-12-09 13:24:54 -08:00
Xiang Li
d2dfb4906f
scheduler: clean up NoDiskConflict code in predicates.go
2015-12-09 11:19:57 -08:00
Wojciech Tyczynski
a915b8b29a
Merge pull request #18080 from wojtek-t/list_options_in_listwatch
...
Pass ListOptions to List in ListWatch.
2015-12-09 14:27:51 +01:00
deads2k
3f045cf168
udpate admission for API groups
2015-12-07 08:55:01 -05:00
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
k8s-merge-robot
3180b00f6c
Merge pull request #17673 from hongchaodeng/metrics
...
Auto commit by PR queue bot
2015-12-05 05:30:08 -08:00
deads2k
7ae4d4f424
allow enforcing SA mountable secrets per SA
2015-12-03 13:53:01 -05:00
Hongchao Deng
c4fdb7a2d0
Scheduler metrics: binding rate limiter saturation
2015-12-03 10:43:37 -08:00
Hongchao Deng
ba80892cec
Rate limiter: Add Saturation() method
2015-12-03 08:39:35 -08:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
k8s-merge-robot
8a8639d7af
Merge pull request #17863 from wojtek-t/only_list_options_in_watch
...
Auto commit by PR queue bot
2015-12-02 06:28:28 -08:00
Wojciech Tyczynski
8343c8ce6c
Pass ListOptions to List() methods.
2015-12-01 15:00:36 +01:00
Wojciech Tyczynski
d2dfc912e6
Simplify Watch() signature in clients.
2015-12-01 14:19:26 +01:00
jiangyaoguo
f4c5d00b0c
Implement a cachedNodeInfo in predicates
2015-11-27 21:49:14 +08:00
k8s-merge-robot
4eb010b1f7
Merge pull request #17694 from hongchaodeng/ratelimit
...
Auto commit by PR queue bot
2015-11-26 13:12:26 -08:00
k8s-merge-robot
851ed7a9f2
Merge pull request #17335 from deads2k/gv-restmapper-api
...
Auto commit by PR queue bot
2015-11-25 12:53:54 -08:00
k8s-merge-robot
3ffc680be6
Merge pull request #13580 from ravigadde/sched-ext
...
Auto commit by PR queue bot
2015-11-25 12:26:16 -08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
deads2k
ed95a6d77f
update scheme to use GroupVersion
2015-11-25 12:15:48 -05:00
k8s-merge-robot
3bd23b185b
Merge pull request #17730 from wojtek-t/use_unversioned_list_options_in_client
...
Auto commit by PR queue bot
2015-11-25 09:10:19 -08:00
Ravi Gadde
cadc24e9fd
Scheduler extension
2015-11-25 08:19:27 -08:00
Wojciech Tyczynski
a968f98dc2
Expose information about scheduling latency in scalability tests.
2015-11-25 08:31:46 +01:00
k8s-merge-robot
a26a1ae5d5
Merge pull request #17438 from spiffxp/sched-v-levels
...
Auto commit by PR queue bot
2015-11-24 20:42:18 -08:00
k8s-merge-robot
d42030170b
Merge pull request #15999 from aveshagarwal/master-issue-15624
...
Auto commit by PR queue bot
2015-11-24 17:07:10 -08:00
Wojciech Tyczynski
b6ef62af24
Use unversioned.ListOptions in clients.
2015-11-24 16:52:09 +01:00
Avesh Agarwal
3d5207fd73
This commit adds type information to events.
...
This addresses issue #15624 .
2015-11-24 09:59:54 -05:00
Hongchao Deng
13d152a873
RateLimiter: change CanAccept() to TryAccept()
2015-11-23 16:42:53 -08:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
k8s-merge-robot
04ca4a9690
Merge pull request #16941 from derekwaynecarr/fix_16733
...
Auto commit by PR queue bot
2015-11-19 12:12:34 -08:00
Aaron Crickenberger
fad1968023
Adjust V level for scheduler messages
...
The "Combined requested resources" message becomes excessive as
the cluster fills up, drop it down to V(2)
Put an explicit V(2) on the only other scheduler Infof call that didn't
have V specified already.
2015-11-19 15:12:13 -05:00
David Oppenheimer
a45c98299a
Revert "Avoid full sort when selecting host with highest priority."
...
This reverts commit c64048d73e
.
Address #17332 .
2015-11-16 15:16:00 -08:00
k8s-merge-robot
f8db8f12fd
Merge pull request #16647 from abursavich/tophost
...
Auto commit by PR queue bot
2015-11-16 08:36:32 -08:00
k8s-merge-robot
53c0f5c0db
Merge pull request #17061 from derekwaynecarr/quota_dirty_error
...
Auto commit by PR queue bot
2015-11-12 13:29:41 -08:00
k8s-merge-robot
986dd3ea49
Merge pull request #15956 from rootfs/no-disk-conflict
...
Auto commit by PR queue bot
2015-11-12 01:27:39 -08:00
derekwaynecarr
9ce6ef87ac
Unnecessary updates to ResourceQuota when doing UPDATE to non-pod resources
2015-11-10 12:01:08 -05:00
derekwaynecarr
bd17fa002c
Improve quota error messages
2015-11-06 15:14:33 -05:00
Kris
0a4ee958c7
Use http's basic auth instead of manual encoding
2015-11-06 10:19:01 -08:00
Huamin Chen
bcbdd44267
rbd NoDiskConflict predicate: review feedback
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-11-02 10:18:39 -05:00
Andrew M Bursavich
c64048d73e
Avoid full sort when selecting host with highest priority.
2015-10-31 22:33:02 -07:00
Madhusudan.C.S
ce257b5a0e
Use node out of disk condition in the scheduler while scheduling pods.
...
Set the out of disk node condition to unknown in the node controller if
the kubelet does not report its node condition in a long time. Update
node controller unit tests.
Implement a node condition predicate function that checks if a given
node satisfies the conditions defined by the predicate and if it
does, use that node for scheduling pods. The predicate function takes
both NodeReady and NodeOutOfDisk into consideration to determine if a
node is fit for scheduling pods.
The predicate is then passed to the node lister in the scheduler factory
so that the node lister can run the predicate function on the nodes when
schedling pods thereby omitting nodes that does not satisfy the
predicate.
Also update listers test.
2015-10-28 14:29:46 -07:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
Wojciech Tyczynski
f4d75e0a0a
Support timeout in watch requests
2015-10-24 13:12:49 +02:00
k8s-merge-robot
e1559e9fb5
Merge pull request #15352 from pmorie/fsgroup
...
Auto commit by PR queue bot
2015-10-24 01:55:45 -07:00
Filip Grzadkowski
5f7fea2f35
Merge pull request #15974 from gambol99/rj/groups_fields_quoted
...
single column groups option in tokenfile
2015-10-23 14:06:25 +02:00
Paul Morie
3cd12f5e05
FSGroup implementation
2015-10-22 16:40:59 -04:00
Huamin Chen
1ec9829ddf
replace variable manifest to podSpec to make names unconfusing; update NoDiskConflicts comments
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-22 15:39:40 -04:00