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