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
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
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
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
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
Jordan Liggitt
cf7a2cdfff
Re-add ServiceSpreadingPriority priority algorithm
2015-08-12 08:39:04 -04:00
dingh
472a66aee1
Update comments.
...
Change limit to request in the comments for CheckPodsExceedingFreeResources()
2015-08-12 17:30:09 +08:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Marek Grabowski
5f9cefc1d8
Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
...
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
e034712456
Merge pull request #11788 from HaiyangDING/ImproveClarityResource
...
Improve clarity around PodFitsResource(issue#11453)
2015-08-10 09:56:32 +02:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Satnam Singh
bee48f4ce5
Merge pull request #12035 from AnanyaKumar/requests
...
Add support for request
2015-08-07 14:27:34 -07:00
Jerzy Szczepkowski
d6dab28b96
Revert "Move prioritizer function EqualPriority to package priorities"
2015-08-07 15:51:26 +02:00
dinghaiyang
dab7280ae4
Improve clarity around PodFitsResource by showing pods limits in `kubectl describe node`
2015-08-07 16:58:11 +08:00
dinghaiyang
ebbcd4a3ba
Move prioritizer function EqualPriority to package priorities
2015-08-07 09:56:54 +08:00
Ananya Kumar
ef1e576810
Add support for request
2015-08-05 19:00:19 -07:00
Mike Danese
17defc7383
run gofmt on everything we touched
2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28
rewrite go imports
2015-08-05 17:30:03 -07:00
Alex Mohr
b90663924b
Merge pull request #12146 from deads2k/tweak-testclient
...
make testclient more precise
2015-08-04 14:49:11 -07:00
Alex Mohr
1311b9dce1
Merge pull request #11886 from gmarek/ratelimit
...
Auto commit by PR queue bot
2015-08-04 11:39:53 -07:00
deads2k
182885e897
make testclient more precise
2015-08-04 13:35:59 -04:00
Alex Mohr
9df26f27dd
Merge pull request #12169 from mikedanese/patch-1
...
Auto commit by PR queue bot
2015-08-03 21:08:05 -07:00
Mike Danese
ba87868577
changed unused fmt statement to be a log statement
2015-08-03 15:12:44 -07:00
gmarek
d27ad5b714
Controller codebase refactoring
2015-08-03 17:06:25 +02:00
gmarek
4cc0a2f117
Allow changing Schedulers RateLimitter setting during startup.
2015-08-03 15:27:19 +02:00
Mike Danese
356c9ffb4d
Merge pull request #10667 from gmarek/scheduler
...
Add spreading by controllers
2015-07-31 14:52:42 -07:00
gmarek
94eb52de33
Add spreading by controllers
2015-07-31 16:28:50 +02:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
Mike Danese
1b84fb7d74
make testclient threadsafe by guarding internal state with accessors
2015-07-29 16:17:17 -07:00
deads2k
9386db8c99
support multiple index values for a single object
2015-07-29 07:54:09 -04:00
Mike Danese
ae1c8e55ef
Merge pull request #11737 from thockin/cleanup-remove-v1beta3
...
Remove v1beta3
2015-07-24 10:25:56 -07:00
Vish Kannan
c60238921f
Merge pull request #11051 from nak3/AWSElasticBlockStore
...
Update comment about NoDiskConflict predicate
2015-07-23 17:49:37 -07:00
Tim Hockin
1c3233a1d4
Remove v1beta3
2015-07-23 17:21:27 -07:00
Wojciech Tyczynski
d30704af87
Merge pull request #11682 from nak3/priorities-fix
...
Remove unused argument from fractionOfCapacity()
2015-07-23 12:57:22 +02:00
Kenjiro Nakayama
a176001aa1
Fix calculation comment for LeastRequestedPriority
2015-07-22 17:18:19 +09:00
Kenjiro Nakayama
5d3958ff64
Remove unused argument from fractionOfCapacity()
2015-07-22 15:43:50 +09:00
Prashanth Balasubramanian
0728c08a1e
Fix scheduler race
2015-07-12 23:14:24 -07:00
Kenjiro Nakayama
78a8d287e9
Comment update
2015-07-10 21:11:15 +09:00
gmarek
b25c97bca4
Add more logging to scheduler predicates to help debugging max_pods e2e test flakyness
2015-07-08 10:48:50 +02:00
David Oppenheimer
bdf22e3121
Increase zero-limit pod RAM for spreading to 200 MB to match cluster
...
addon pods and represent less trivial fraction of typical machine RAM
(e.g. n1-standard-1).
2015-07-07 13:48:57 -07:00
Zach Loafman
8278928b66
Merge pull request #10661 from davidopp/somebranch
...
When scheduling, treat zero limit-pods as having nonzero limit when calculating priorities
2015-07-06 13:18:54 -07:00
Yu-Ju Hong
ea16e52f9b
Merge pull request #10642 from davidopp/clean
...
Clarify and make less verbose event message for infeasible pods.
2015-07-06 12:55:00 -07:00
David Oppenheimer
2e3f2ea20b
gofmt
2015-07-05 21:31:54 -07:00
David Oppenheimer
9fbccb4ff7
Respond to review comments.
2015-07-05 15:41:52 -07:00
David Oppenheimer
4ea8b8a66d
Get rid of separate DumbSpreading function and just treat zero-limit
...
pods as having a constant non-zero memory and CPU limit.
2015-07-05 11:39:35 -07:00
hyeongkyu.lee
55f1f241e6
Fixed typo
2015-07-03 18:03:45 +09:00
David Oppenheimer
44ed229069
Foo.
2015-07-03 01:40:00 -07:00
David Oppenheimer
53518e37a6
Add a test for DumbSpreadingPriority.
2015-07-03 01:34:07 -07:00
David Oppenheimer
cb9d515004
Add DumbSpreadingPriority, which tries to spread pods across nodes.
2015-07-03 00:45:54 -07:00
David Oppenheimer
950ab8f219
Clarify and make less verbose event message for infeasible pods.
2015-07-01 19:22:48 -07:00
Jordan Liggitt
ecebac9395
Add option to require API tokens to exist in admission
2015-06-30 16:12:45 -04:00
derekwaynecarr
d0441a9fba
Prevent deletion of default namespace
2015-06-23 14:38:50 -04:00
derekwaynecarr
f6fb72ec51
Admission control attributes has access to resource name
2015-06-23 13:54:55 -04:00
Jeff Lowdermilk
0c7fbacfb1
Merge pull request #10052 from derekwaynecarr/admission_subresources
...
Admission control exposes subresource
2015-06-22 13:11:58 -07:00
Jordan Liggitt
68a8a25494
Rename pod.spec.serviceAccount -> pod.spec.serviceAccountName for v1
2015-06-18 22:38:00 -04:00
derekwaynecarr
795e444ba3
ResourceQuota should ignore subresources
2015-06-18 16:03:40 -04:00
derekwaynecarr
9a747cde38
LimitRanger should ignore subresources
2015-06-18 15:43:48 -04:00
derekwaynecarr
fce7adf3e7
Admission control exposes subresource
2015-06-18 15:00:46 -04:00
Chao Xu
a309d3e652
Update pkg/api/testapi because namespace is always in the path since we remove v1beta1/2
2015-06-16 14:12:03 -07:00
Abhi Shah
2c93add90b
Merge pull request #9613 from brendandburns/scheduler
...
Fix the scheduler to ignore terminated pods.
2015-06-12 10:05:09 -07:00
Brendan Burns
97634c7fbf
Fix the scheduler to ignore terminated pods.
2015-06-10 14:38:08 -07:00
James DeFelice
7d66559725
added comments at the top of native k8s files which, if changed, might affect some of the k8sm code
2015-06-10 20:31:22 +00:00
Prashanth Balasubramanian
4bb3efaaad
Scheduler doesn't send all fit predicate failures as events
2015-06-05 18:52:55 -07:00
Prashanth B
04209c4371
Merge pull request #9274 from lavalamp/logSpam
...
Demote log spam
2015-06-04 15:51:16 -07:00
Daniel Smith
32caedd882
Demote log spam
...
These messages are only useful if you want to debug a particular
scheduler assigment, and they are extremely verbose-- they each print
out a line per host per assignment. Let's try to keep our log messages
linear in the number of assigments.
2015-06-04 14:08:11 -07:00
derekwaynecarr
14d2128238
Fix namespace controller on delete to not care if item not found
2015-06-03 22:59:07 -04:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
Brian Grant
808932c079
Merge pull request #9056 from runningwild/master
...
Change isVolumeConflict so read-only gce persistent disks don't confl…
2015-06-02 13:14:13 -07:00
Clayton Coleman
72ee028cab
Gracefully delete pods from the Kubelet
...
This commit wires together the graceful delete option for pods
on the Kubelet. When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default. The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.
When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker. When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Jonathan Wills
882462ad87
Change isVolumeConflict so read-only gce persistent disks don't conflict with each other
2015-06-01 08:13:48 -04:00
Rohit Jnagal
ef3d03e6f1
Merge pull request #8875 from derekwaynecarr/limit_range_not_use_requests
...
Do not set container requests in limit ranger for Kube 1.0
2015-05-29 13:26:00 -07:00
Rohit Jnagal
ff51f0b2e1
Merge pull request #8696 from derekwaynecarr/force_namespace_creation
...
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Tim Hockin
d0daabb34b
Merge pull request #8471 from bprashanth/scheduler_burst
...
Limit the scheduler to a burst qps of 30
2015-05-28 16:55:25 -07:00
Chao Xu
9c1153322e
update PodSpec.Host to PodSpec.NodeName in /pkg/api/types.go and /pkg/api/v1beta3/types.go
2015-05-28 14:10:06 -07:00
derekwaynecarr
3e8b1d5e01
Update all salt providers to force explicit namespace creation; update e2e
2015-05-28 13:45:49 -04: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
derekwaynecarr
05f099211f
Do not set container.requests for v1
2015-05-27 14:27:01 -04:00
deads2k
590bd048a5
add pull secrets to service accounts
2015-05-22 14:05:19 -04:00
Derek Carr
9b1fb6dca1
Merge pull request #8233 from csrwng/connect_adm_ctrl
...
Admission control to prevent exec on privileged pods
2015-05-21 14:35:28 -04:00
Cesar Wong
e95d9c416d
Admission control to prevent exec on privileged pods
2015-05-21 13:56:51 -04:00
Cesar Wong
68ad63b5e2
Add operation checking to admission control handlers
...
Adds a new method to the handler interface that returns true only if the
admission control handler handles that operation.
2015-05-21 13:51:43 -04:00
Dawn Chen
40480d8504
Merge pull request #8532 from derekwaynecarr/improve_event_readability
...
Improve event readability for generic scheduler
2015-05-21 09:25:32 -07:00
Wojciech Tyczynski
5fbe58b2c8
Revert "Make scheduler optimistic about its bindings"
2015-05-19 14:27:28 -07:00
derekwaynecarr
8ee06a9983
Improve event readability
2015-05-19 17:26:24 -04:00
David Oppenheimer
44b1e1ca0c
Fix stylistic isues with #5547 . Closes #4910 .
2015-05-18 23:32:06 -07:00
Victor Marmol
45874d5f76
Merge pull request #5547 from gmarek/client3
...
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-18 11:11:43 -07:00
Vish Kannan
969023f3ec
Merge pull request #8389 from smarterclayton/chatty_endpoints_controller
...
Endpoints controller is logging too much
2015-05-18 09:40:57 -07:00
Derek Carr
eb12565960
Merge pull request #8203 from pweil-/expose-context-to-admission
...
Expose user info to admission controllers
2015-05-18 08:25:10 -04:00
Clayton Coleman
d00f705652
Tone down scheduler logging
...
Having no nodes in the cluster is unusual and is likely a test
environment, and when a pod is deleted there is no need to log
information about our inability to schedule it.
2015-05-16 19:46:50 -04:00
Prashanth B
abd0d7b2cb
Merge pull request #8261 from lavalamp/scheduler
...
Make scheduler optimistic about its bindings
2015-05-15 17:06:42 -07:00
gmarek
27d660d0ac
Add a resource specifying number of Pods that are allowed to run on Kubelet.
2015-05-15 10:57:46 +02:00
Daniel Smith
3a7086fd8a
Make scheduler optimistic about its bindings
2015-05-14 10:55:49 -07:00
Paul Weil
aaeb1dad93
expose user info to admission controllers
2015-05-13 21:31:51 -04:00
hurf
6203ce9f85
Move pkg/scheduler to plugin/pkg/scheduler
...
As the TODO in plugin/pkg/scheduler/scheduler.go described:
move everything from pkg/scheduler into this package. Remove
references from registry.
2015-05-13 14:03:25 +08:00
Jordan Liggitt
7e14a80f63
ServiceAccount admission plugin
2015-05-11 17:18:06 -04:00
Prashanth Balasubramanian
4b0607cf0b
Scheduler ignored nodes with unknown condition status
2015-05-06 18:32:52 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Daniel Smith
4a6ab7fd36
Merge pull request #7597 from eparis/copyright
...
Use generic copyright holder name in license boilerplate
2015-05-01 17:01:39 -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
derekwaynecarr
6d08cc30ed
Retry incrementing quota if there is a conflict
2015-05-01 15:23:21 -04:00
Robert Bailey
6d85dcb4a0
Add support for HTTP basic auth to the kube-apiserver.
2015-04-28 10:33:51 -07:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
derekwaynecarr
ac97e9fb67
normalize to lower resource names
2015-04-23 17:39:45 -04:00
Vish Kannan
ee06097c07
Merge pull request #7003 from derekwaynecarr/enforce_unbounded
...
Reject unbounded cpu and memory pods if quota is restricting it
2015-04-22 11:19:52 -07:00
Brian Grant
740d2a5f8a
Merge pull request #6967 from HaiyangDING/ListAlgos
...
Listing existing algorithm providers in scheduler
2015-04-22 07:04:05 -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
Abhishek Gupta
c203117e42
Including balanced resource allocation priority in the default set
2015-04-21 14:25:42 -07:00
derekwaynecarr
06eb45fb75
ResourceQuota add object count support for secret and volume claims
2015-04-21 09:49:40 -04:00
derekwaynecarr
75482cabb4
Reject unbounded cpu and memory pods if quota is restricting it
2015-04-17 17:02:47 -04:00
Kris Rousey
81497f3ed2
Changing the scheduler package to use *api.Pod instead of api.Pod to
...
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
derekwaynecarr
81dcd8c836
Improve error message when name is omitted but generateName is available
2015-04-16 13:06:19 -04:00
Daniel Smith
835a87aed2
Merge pull request #6857 from wojtek-t/fix_scheduler_nodes
...
Fix listing nodes in scheduler
2015-04-15 17:05:04 -07:00
Wojciech Tyczynski
20f39cd788
Merge pull request #6836 from lavalamp/fix4
...
add missing syncronization
2015-04-15 15:25:43 +02:00
Wojciech Tyczynski
afb94c43b1
Fix listing nodes in scheduler
2015-04-15 14:26:25 +02:00
Daniel Smith
fb0df935f6
add missing syncronization
2015-04-14 15:59:50 -07:00
Dawn Chen
9b1b5c5447
Merge pull request #6824 from derekwaynecarr/fix_quota_bug
...
Fix quota bug in LimitRanger
2015-04-14 14:56:55 -07:00
derekwaynecarr
a50e53257d
Fix nil pointer that can happen if no container resources are supplied
2015-04-14 16:12:24 -04:00
Daniel Smith
dd26cdf0f7
Fix comments; switch to watching nodes
2015-04-10 17:49:51 -07:00
Daniel Smith
6835318d1e
switch to require 'go controller.Run()'
2015-04-10 14:05:08 -07:00
Daniel Smith
5f7715f0e9
Make scheduler not miss deletion events even in the case of a resync.
2015-04-10 14:05:08 -07:00
Wojciech Tyczynski
88eb0b0295
FieldSelector for node List()
2015-04-10 12:53:16 +02:00
Prashanth Balasubramanian
a7864aa230
Scheduler uses TTLStore for assumed pods
2015-04-08 15:01:04 -07:00
Masahiro Sano
d04cc5ced4
List in NodesInterface takes label selector
2015-04-08 23:41:27 +09:00
Wojciech Tyczynski
8a5c76356c
Revert "Stop the bleeding for #6059"
...
This reverts commit 6be09c5e97
.
2015-04-08 13:29:29 +02:00
Daniel Smith
c1390a0836
version field selector field names in the client
2015-04-07 16:59:57 -07:00
Clayton Coleman
51db3bd654
Create a new testclient package that can be backed by disk files
...
Standardize how our fakes are used so that a test case can use a
simpler mechanism for providing large, complex data sets, as well
as represent queries over time.
2015-04-07 14:56:15 -04:00
gmarek
ef56dca6b6
Remove ConditionSchedulable
2015-04-07 17:01:07 +02:00
Prashanth B
620af16892
Merge pull request #6097 from derekwaynecarr/limit_range_default_value
...
Limit range supporting a default resource limits value
2015-04-02 16:04:09 -07:00
Daniel Smith
6be09c5e97
Stop the bleeding for #6059
2015-04-02 13:54:10 -07:00
Daniel Smith
4a3b1a2b9d
Merge pull request #6375 from abhgupta/abhgupta-dev
...
Validating against negative weights for priority functions
2015-04-02 13:22:55 -07:00
Brian Grant
414be101b6
Merge pull request #6352 from piosz/api
...
Removed PodStatus.Host
2015-04-02 13:16:24 -07:00
Abhishek Gupta
8deedf8e1f
Validating against negative weights for priority functions
2015-04-02 12:30:22 -07:00
Filip Grzadkowski
25f95b0672
Add basic latency metrics to scheduler.
2015-04-02 19:24:55 +02:00
Piotr Szczesniak
5c6439d449
Removed PodStatus.Host
...
Fixes #6165
2015-04-02 16:38:45 +02:00
derekwaynecarr
c2b670513c
Introduce concept of a default limit
2015-04-01 16:31:25 -04:00
Deyuan Deng
6bb9701489
Remove Reachable Condition
2015-04-01 13:56:43 -04:00
Abhishek Gupta
8a01aed83f
Adding validations for scheduler Policy
2015-03-31 10:54:45 -07:00
derekwaynecarr
9bd7f05ffc
Remove ResourceDefaults plugin
2015-03-31 10:05:28 -04: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
Daniel Smith
10b4fe6f30
Merge pull request #6188 from abhgupta/abhgupta-dev
...
Minor fixes for scheduler priority configuration
2015-03-30 14:05:28 -07:00
Victor Marmol
05452f12ef
Merge pull request #6110 from lavalamp/fix2
...
Remove pods from the assumed pod list when they are deleted
2015-03-30 13:49:52 -07:00
Abhishek Gupta
490dd1bb67
Fixing accidental hardcoding of priority function weight
2015-03-30 13:47:27 -07:00
Abhishek Gupta
08a0563933
Removing EqualPriority from the list of default priorities
2015-03-30 13:47:27 -07:00
Daniel Smith
fd952862c3
Remove pods from the assumed pod list when they are deleted
2015-03-30 11:16:55 -07:00
Abhishek Gupta
142fd773b0
Updating priority function weight based on specified configuration
2015-03-27 17:56:40 -07:00
Piotr Szczesniak
8d94c43e70
Merge pull request #5725 from rrati/schedule-to-available-nodes-5545
...
Only schedule to pods that are available. This turns on the node
2015-03-27 10:20:35 +01:00
derekwaynecarr
267ef26b0f
Do not block admission if namespace already exists
2015-03-26 15:59:09 -04:00
Robert Rati
c2938b299d
Only schedule to pods that are available. #5545
2015-03-26 08:42:14 -04:00
Clayton Coleman
b1ab14315b
Clients should not check conditions, UpdateStatus() is inconsistent
...
Corrects some of the cargo culting that has crept into the API.
2015-03-25 16:25:04 -04:00
Brian Grant
d75291dbe7
Merge pull request #5838 from nikhiljindal/clientTests
...
Updating unit tests so that they pass with v1beta3 api
2015-03-24 17:30:50 -07:00
Deyuan Deng
ca68f4a9d1
Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse
2015-03-24 17:28:59 -04:00
nikhiljindal
7e3b7f9673
Updating unit tests so that they pass with v1beta3 api
2015-03-24 12:13:53 -07:00
Clayton Coleman
97560c409f
Merge pull request #5554 from derekwaynecarr/namespace_controller
...
Namespace Controller to support Namespace Termination
2015-03-24 12:59:00 -04:00
derekwaynecarr
29c491ef2e
Namespace.Spec.Finalizer support
2015-03-24 10:36:06 -04:00
Wojciech Tyczynski
f7191d626d
Change "/ns" to "/namespaces" in few remaining places.
2015-03-24 13:05:32 +01:00
derekwaynecarr
8aa807bc33
NamespaceLifecycle admission control plugin
2015-03-20 13:23:49 -04:00
Brian Grant
11f9733599
Merge pull request #5587 from nikhiljindal/enable3
...
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 16:14:20 -07:00
nikhiljindal
7e36bbab3c
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 15:24:11 -07:00
Salvatore Dario Minonne
31ddefc347
Finalize fields.Selector
2015-03-17 22:55:43 +01:00
Piotr Szczesniak
7aa6356625
Fill NodeInfo in CreateFromKey method in scheduler
...
NodeInfo was nil and it caused segfault
Fixes #5503
2015-03-17 14:57:49 +01:00
Jeff Lowdermilk
e37fd2a84d
Merge pull request #5477 from dchen1107/clean
...
Convert RestartPolicy to string for v1beta3.
2015-03-16 10:23:52 -07:00
Jeff Lowdermilk
2a8528704a
Merge pull request #5446 from lavalamp/fix2
...
Add a system modeler to scheduler
2015-03-16 10:21:02 -07:00
Dawn Chen
34e9c82c70
Convert RestartPolicy to string for v1beta3.
...
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Daniel Smith
992d78a32e
Add a system modeler to scheduler
...
So it can try to predict the effect its bindings will have.
2015-03-13 17:48:16 -07:00
derekwaynecarr
799e3fa9cc
Eliminate ResourceQuotaUsage in favor of ResourceQuota status
2015-03-13 16:52:09 -04:00
Satnam Singh
52bf7af739
Merge pull request #5351 from lavalamp/fix2
...
remove evil global state shared by all schedulers
2015-03-13 10:15:27 -07:00
Ravi Sankar Penta
f6ecec5880
Allow admin user to explicitly unschedule the node
...
Setting Unschedulable on the node will not touch any existing pods
on the node but will block scheduling of new pods on the node.
2015-03-12 14:27:27 -07:00
Wojciech Tyczynski
9f2f10d6db
Make scheduler to watch PodSpec.Host instead Status.Host
2015-03-12 13:38:58 +01:00
Daniel Smith
3e83ffdd40
remove evil global state shared by all schedulers
2015-03-11 18:09:01 -07:00
derekwaynecarr
468bf1da75
Enable common set of admission controllers across salt providers
2015-03-11 11:06:00 -04:00
Brian Grant
6062e14313
Merge pull request #5220 from nikhiljindal/camelCaseFieldSelectors
...
Changing v1beta3 field selectors to be camelCased
2015-03-10 09:35:03 -07:00
nikhiljindal
916ca9cc68
Changing v1beta3 field selectors to be camelCased
2015-03-09 18:01:01 -07:00
Clayton Coleman
dfc19185f5
Add a subbindings resource as /pods/{name}/binding
...
Allows POST to create a binding as a child. Also refactors internal
and v1beta3 Binding to be more generic (so that other resources can
support Bindings).
2015-03-09 15:37:19 -04:00
derekwaynecarr
2ed8eed004
Make admission control plug-ins work from indexes
2015-03-06 09:36:57 -05:00
Paul Morie
02b18edac6
Allow multiple sources to be used with record package
2015-03-05 13:54:29 -05:00
Derek Carr
cb1e044a60
Merge pull request #4923 from lavalamp/fix4
...
Allow reflector to do full resync periodically
2015-03-04 09:58:03 -05:00
Daniel Smith
c4822dc060
Revert "Revert "Adding converter functions to convert field label selectors to internal version before matching""
...
This reverts commit 5f35a67002
.
2015-03-02 15:00:09 -08:00
Abhishek Gupta
5e096fed34
Fixing test case to remove dependency on algorithm provider
2015-03-02 10:00:20 -08:00
Abhishek Gupta
a04e600f16
Added test cases
2015-03-02 10:00:20 -08:00