Commit Graph

449 Commits (de4f29f1f5c456bb9ca7ae8d68b7fb20e00a88fd)

Author SHA1 Message Date
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
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
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