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
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
Clayton Coleman
715b77cbcd
Split proxy and scheduler arguments
...
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05: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
k8s-merge-robot
9b03cffc7f
Merge pull request #18526 from deads2k/gv-status
...
Auto commit by PR queue bot
2015-12-17 07:48:25 -08:00
k8s-merge-robot
548cfbf058
Merge pull request #18358 from gmarek/use-proxy
...
Auto commit by PR queue bot
2015-12-17 06:37:55 -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
gmarek
4852ca23ef
Make getSchedulingLatency use master proxy
2015-12-14 16:08:34 +01: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
k8s-merge-robot
7536e776f3
Merge pull request #16931 from mikedanese/inclustercomponent
...
Auto commit by PR queue bot
2015-11-18 22:52:27 -08:00
Mike Danese
fb056c47b2
use inClusterConfig before using default config for cluster components
2015-11-17 10:37:40 -08: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
feisky
13dce74adb
Gendocs for docs/admin/kube-*
2015-10-25 19:24:23 +08: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
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
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
k8s-merge-robot
53279bcec6
Merge pull request #15942 from feihujiang/returnClearMessageWhenDeletingImmortalNamespace
...
Auto commit by PR queue bot
2015-10-22 09:14:24 -07:00
Paul Morie
393e2bc019
Inline some SecurityContext fields into PodSecurityContext
2015-10-21 19:01:17 -04:00
Jeff Lowdermilk
5449b0fda3
Merge pull request #15890 from lavalamp/fix-loud-log
...
NO BIG MESSAGES IN N^2 LOGGING
2015-10-21 13:09:43 -07:00
Rohith
ee691aa1ab
[tokenfile]
...
- the groups field has been changed to a single column option as requested in https://github.com/kubernetes/kubernetes/pull/15704
[docs]
- updated the docs related the the tokefile along with an example
2015-10-21 10:37:35 +01:00
feihujiang
c5f7278044
Return a clear error when deleting an immortal namespace
2015-10-21 14:37:07 +08:00
Huamin Chen
bd10664851
rbd: support NoDiskConflicts scheduler predicates
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-20 14:33:45 -04:00
Sami Wagiaalla
030f882f06
Add Support for supplemental groups
2015-10-20 12:44:32 -04:00
Daniel Smith
7372e18e02
NO BIG MESSAGES IN N^2 LOGGING
2015-10-19 15:00:41 -07:00
Rohith
f02c80584b
[plugin/auth/tokenfile]
...
- allowing for variable length groups to be added to the static token file
[docs/admin/authentication]
- updating the documentation for token file
2015-10-19 17:14:14 +01:00
eulerzgy
f8f9afb874
alias local packagename for pkg/util/errors
2015-10-18 09:37:46 +08:00
Wojciech Tyczynski
647aa1bc8c
Unify per-resource List for unversioned client
2015-10-14 08:37:57 +02:00
k8s-merge-robot
ae9f7c8ff8
Merge pull request #15426 from zhengguoyong/adjust_package_name_pkgcontroller
...
Auto commit by PR queue bot
2015-10-13 06:05:23 -07: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
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
Yu-Ju Hong
098ab05997
kubelet: move common types to kubelet/types
...
This would faciliate tasks such as moving code in pkg/kubelet to sub packages.
2015-10-08 14:38:01 -07:00
Piotr Szczesniak
d24d6b817f
Merge pull request #15215 from wojtek-t/increase_scheduler_limits
...
Increase scheduler QPS limits
2015-10-08 11:11:10 +02:00
Derek Carr
87fe1f4af8
Merge pull request #13939 from pmorie/pod-sc-minimal
...
Add PodSecurityContext and backward compatibility tests
2015-10-07 09:56:58 -04:00
Wojciech Tyczynski
088de9b572
Increase scheduler QPS limits
2015-10-07 11:20:14 +02:00
Jordan Liggitt
6762978470
Correct compatibility test to include kind/apiVersion for scheduler json
2015-10-05 22:57:07 -04:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
Alex Robinson
66cbacc9c1
Merge pull request #14967 from liggitt/set_transport_defaults
...
Add util to set transport defaults
2015-10-05 10:29:32 -07:00
Piotr Szczesniak
0b798906e7
Espaced '/' character in query to InfluxDB
2015-10-05 16:10:10 +02:00
Piotr Szczesniak
ddcb605109
Fixed panic in GCM data source implementation in Initial Resources
...
The panic occured when there was no historical data to make prediction
2015-10-05 16:07:16 +02:00
Piotr Szczesniak
1a641027d2
Changed data window size to 2m in Initial Resources
...
It fixes the issue with delayed data after #14559 is merged
2015-10-05 16:05:42 +02:00
David Oppenheimer
b9cfab87e3
Merge pull request #14724 from HaiyangDING/PodFitsHostPorts
...
Replace PodFitsPorts with PodFitsHostPorts
2015-10-03 12:45:35 -07:00
k8s-merge-robot
6b7fe871b2
Merge pull request #14972 from piosz/ir-namespace
...
Auto commit by PR queue bot
2015-10-02 11:18:27 -07:00
Piotr Szczesniak
f3cfdb0ef7
Extended prediction algorithm in Initial Resource to use also namespace
2015-10-02 14:56:06 +02:00
k8s-merge-robot
562ea7160d
Merge pull request #14664 from deads2k/fix-prepend
...
Auto commit by PR queue bot
2015-10-02 03:21:10 -07:00
Piotr Szczesniak
cb306f5935
Refactored Initial Resources data source code
...
- added placeholder for Hawkular implementation
- move InfluxDB implementation to a separate file
2015-10-02 09:20:56 +02:00
Jordan Liggitt
2a1286c8f2
Add util to set transport defaults
2015-10-02 02:29:46 -04:00
k8s-merge-robot
fde132fa6b
Merge pull request #13998 from derekwaynecarr/annotate_limit_range
...
Auto commit by PR queue bot
2015-10-01 05:15:47 -07:00
Wojciech Tyczynski
7f9df8c062
Merge pull request #14721 from zhengguoyong/err_value
...
add log err value
2015-10-01 09:37:36 +02:00
Brendan Burns
2a6c7a1e79
Merge pull request #14715 from zhengguoyong/capital
...
set capital in some glog files
2015-09-30 11:28:05 -07:00
Piotr Szczesniak
b7a32078ef
Merge pull request #14739 from piosz/logs
...
Improved logging in scheduler
2015-09-30 13:20:54 +02:00
HaiyangDING
6e11cd6028
Replace PodFitsPorts with PodFitsHostPorts
2015-09-30 15:14:59 +08:00
eulerzgy
71b96422f4
set capital in some files
2015-09-30 14:46:20 +08:00
Andy Goldstein
471c2a7d1f
Fix google cloudmonitoring import path
2015-09-29 17:09:45 -04:00
Piotr Szczesniak
659de4d7d0
Improved logging in scheduler
2015-09-29 15:46:22 +02:00
deads2k
4cc63313e7
fix testclient prepend functions
2015-09-29 08:03:52 -04:00
eulerzgy
b1be6bc8ea
add log err value
2015-09-29 17:09:25 +08:00
Brian Grant
5e25969850
Merge pull request #14451 from brendandburns/flakes
...
Fix a race in pod backoff.
2015-09-25 11:00:55 -07:00
Brian Grant
a6461a51d5
Merge pull request #14353 from feihujiang/fixErrorMessageForNonExistentNamespace
...
Fix error message for non-existent namespace
2015-09-25 10:59:24 -07:00
Brendan Burns
40247acb0f
Fix a race in pod backoff.
2015-09-24 15:43:33 -07:00
derekwaynecarr
8c3bea7e79
LimitRanger plugin annotates the pods it modifies
2015-09-24 14:31:15 -04:00
feihujiang
74ba88cb07
Fix error message for non-existent namespace
2015-09-24 09:53:57 +08:00
hurf
5cc909afe7
Remove type validation in resource.Quantity.Add
...
The type validation is unnecessary for add and will cause problem.
Type will always keep unchanged after new amount is added.
2015-09-22 21:07:31 +08:00
k8s-merge-robot
9df172b06a
Merge pull request #14246 from mvdan/fix-race-lifecycle
...
Auto commit by PR queue bot
2015-09-21 16:09:35 -07:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
k8s-merge-robot
1446b7c4d3
Merge pull request #14113 from piosz/gcm
...
Auto commit by PR queue bot
2015-09-21 02:44:38 -07:00
k8s-merge-robot
832370ed4f
Merge pull request #13985 from piosz/annotations
...
Auto commit by PR queue bot
2015-09-21 00:43:34 -07:00
Piotr Szczesniak
9a1ec3dfb5
Added GCM support for Initial Resources plugin
2015-09-21 09:01:54 +02:00
Daniel Martí
80a37fbca4
Fix race in lifecycle admission test
...
.State.Phase is read and written by multiple goroutines as reported by `godep
go test -race` on Go 1.5.1. Adding the mutex around the object fixes the
issue.
2015-09-20 18:45:33 -07:00
Federico Simoncelli
f21d9ac9e4
Support pods with containers using host ipc
...
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.
This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
hurf
00f96e8a91
Aggregate errors in resourceQuota admission controller
...
Return all errors at a time to give users a better experience.
2015-09-18 11:19:26 +08:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
deads2k
32a495acb6
add helper methods for SA token secret checks
2015-09-17 07:50:09 -04:00
k8s-merge-robot
4b5c2253f3
Merge pull request #14012 from brendandburns/apiserver
...
Auto commit by PR queue bot
2015-09-17 00:48:51 -07:00
k8s-merge-robot
445fde3dc5
Merge pull request #13447 from pweil-/pid-mode
...
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Brendan Burns
58e7cc4106
Add a not found error to admission control
2015-09-16 13:17:29 -07:00
Piotr Szczesniak
3890c26b26
Added annotation that InitialResources set request
2015-09-16 21:40:04 +02:00
k8s-merge-robot
22f698f5b0
Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
...
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
hurf
ee4c473647
Fix nits in resourceQuota admission
...
Fix small typo in comments and error message.
2015-09-16 11:48:02 +08:00
Paul Weil
ed80c2b940
pid mode
2015-09-15 13:51:44 -04:00
k8s-merge-robot
bf641078eb
Merge pull request #13785 from wojtek-t/minion_to_node_2
...
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
Jeff Lowdermilk
e25ae7fdb2
Merge pull request #13833 from caesarxuchao/central-latest
...
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
Wojciech Tyczynski
53ae56f205
Replace "minion" with "node" in bunch of places.
2015-09-14 11:07:11 +02:00
Chao Xu
ca803fc504
address lavalamp's comment on using testapi instead of latest, and adding comments for public method.
2015-09-12 15:48:44 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
hurf
c2bb81c338
Fix ratio caculation error in admission controller for LimitRange
...
Use float number to caculate ratio, and use same unit to compare
ratios.
2015-09-11 15:19:30 +08: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
tummychow
78ce5da988
Move util.StringSet into its own package
...
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
k8s-merge-robot
434f05c0e3
Merge pull request #13705 from liggitt/attach
...
Auto commit by PR queue bot
2015-09-09 18:19:35 -07:00
hurf
287055930b
Aggregate errors when checking limitrange
...
Return all errors at a time when resources violate limitrange to
provide users better experience.
2015-09-09 15:02:01 +08:00
Jordan Liggitt
b2268574c5
Add pods/attach to long running requests, protect in admission for privileged pods
2015-09-09 00:49:00 -04:00
Chao Xu
9fc79e9d99
refactor testapi and test scripts to prepare for multiple API groups.
2015-09-04 18:01:32 -07:00
derekwaynecarr
2e76842eb7
Update resource quota for requests
2015-09-03 14:24:59 -04:00
k8s-merge-robot
f5c2d90c3a
Merge pull request #12293 from deads2k/testclient-specific-reaction
...
Auto commit by PR queue bot
2015-09-02 09:18:24 -07:00
deads2k
7e180c258d
update testclient for delegating reaction chain
2015-09-01 12:58:35 -04:00
Piotr Szczesniak
7967642cf0
Implemented first version of InitialResources plugin.
2015-09-01 17:24:13 +02:00
k8s-merge-robot
08668d7d94
Merge pull request #13309 from kubernetes/revert-13246-revert-12492-limit_range_api
...
Auto commit by PR queue bot
2015-08-28 21:03:49 -07:00
Prashanth B
52f7833cd3
Revert "Revert "LimitRange updates for Resource Requirements Requests""
2015-08-28 09:26:36 -07:00
Solly Ross
3bbdb16149
Merge NamespaceExists into NamespaceLifecycle
...
This commit merges the NamespaceExists admission controller
into the NamespaceLifecycle admission controller.
New tests were added to the NamespaceLifecycle addmission controller
tests, and the test case was fixed so that it runs without panicing.
Additionally, the NamespaceExists admission controller was marked as
deprecated in the docs.
Closes #12053
2015-08-28 10:56:18 -04:00
Piotr Szczesniak
6e05b9e3a3
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 10:50:50 +02:00
derekwaynecarr
dde158085a
Update admission control logic for LimitRange
2015-08-24 15:20:10 -04:00
Yifan Gu
ae22bd5710
plugin/pkg/auth: add tests for OpenID Connect authenticator.
2015-08-21 15:27:08 -07:00
Yifan Gu
6376e41850
plugin/pkg/auth: add OpenID Connect token authenticator.
...
Also add related new flags to apiserver:
"--oidc-issuer-url", "--oidc-client-id", "--oidc-ca-file", "--oidc-username-claim",
to enable OpenID Connect authentication.
2015-08-21 15:27:08 -07:00
Clayton Coleman
02dbb95447
Add TerminationGracePeriodSeconds to API
...
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Robert Bailey
08e6a43c1d
Revert "Merge pull request #9165 from smarterclayton/graceful"
...
This reverts commit 4f856b595d
, reversing
changes made to d78525a83b
.
Conflicts:
pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Clayton Coleman
b842a7dd15
Revert "Revert "Gracefully delete pods from the Kubelet""
...
This reverts commit 98115facfd
.
2015-08-18 08:57:02 -04:00
Robert Bailey
5d58c2ca77
Merge pull request #12718 from HaiyangDING/ChangeLimitToRequest
...
Use request to deal with resource requirement in priority functions.
2015-08-17 13:52:28 -07:00
Karl Isenberg
61c9dd876e
Improve readability of scheduling failure logs
2015-08-17 12:17:48 +02:00
Brendan Burns
8bd9592b7f
Merge pull request #12544 from liggitt/ServiceSpreadingPriority
...
Auto commit by PR queue bot
2015-08-14 17:09:43 -07:00
dinghaiyang
43c2bd72cb
Use resource request instead of resource limit to deal with resource
...
requirement in priority functions.
2015-08-14 17:25:48 +08:00
Brendan Burns
b50330d851
Merge pull request #12539 from jiangyaoguo/keep-event-reason-consistent-in-scheduler-controller
...
Keep event reason consistent in scheduler and controller
2015-08-13 14:08:52 -07:00
Ruddarraju, Uday Kumar Raju
937db3f70d
Keystone authentication plugin
2015-08-13 09:46:30 -07:00
jiangyaoguo
5d3522dc7a
Keep event reason consistant in scheduler and controller
2015-08-13 11:33:32 +08:00