Alex Mohr
a9050679a5
Merge pull request #19520 from janetkuo/deployment-expectation-fix
...
Fix e2e flake: Fix incorrect expectation when deployment scaling down old rcs
2016-01-20 13:44:30 -08:00
Mike Danese
39c7ea57b0
test: make ValidateCount throw an error instead of a log
...
We can either fix it here or at every callsite. Every callsite is
currently using this method incorrectly.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-19 15:59:32 -08:00
Marek Grabowski
810544633e
Merge pull request #19751 from mikedanese/fix-nil
...
deployment: fix nil pointer panic
2016-01-18 18:08:33 +01:00
mqliang
6fe899b007
remove unused eventBroadcaster in gc controller
2016-01-18 20:40:11 +08:00
k8s-merge-robot
ad827c6b62
Merge pull request #19573 from madhusudancs/daemonset-update-move-utils
...
Auto commit by PR queue bot
2016-01-17 08:16:11 -08:00
Mike Danese
78d27a5d2f
deployment: fix nil pointer panic
2016-01-15 17:58:01 -08:00
Mike Danese
936c8cd597
Merge pull request #19685 from resouer/testing
...
Replace fake handler using testing pkg
2016-01-15 17:47:53 -08:00
Janet Kuo
d693ffaa57
Fix incorrect expectation when deployment scaling down old rcs
2016-01-15 16:29:53 -08:00
Janet Kuo
5a22e30b7d
Sync deployment status when with RecreateDeploymentStrategy
2016-01-15 16:10:06 -08:00
k8s-merge-robot
0834890c42
Merge pull request #17741 from freehan/nodedown
...
Auto commit by PR queue bot
2016-01-15 00:02:48 -08:00
harry
98222b4d8b
Replace to tag
...
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
Minhan Xia
01829432db
update pod status once node becomes NotReady
2016-01-14 17:41:36 -08:00
Mike Danese
1acfb151b6
Merge pull request #19433 from janetkuo/deployment-e2e-flake-fix
...
Fix flaky e2e: Use expectation model for deployment's new rc creation
2016-01-14 13:23:46 -08:00
k8s-merge-robot
6a5ea5ec04
Merge pull request #19239 from markturansky/fixup_pv_controllers
...
Auto commit by PR queue bot
2016-01-13 21:34:05 -08:00
Weixu Zhuang
2af68d25b8
resolve the bug when cluster CIDR is not /8
...
We will have the rigth formula to generate correct maxCIDRs now.
Previous code assume cluster CIDR is /8 which may not be true.
Now it generates maxCIDR based on the info of cluster IP.
2016-01-13 11:55:19 -08:00
k8s-merge-robot
077d1ddb61
Merge pull request #16713 from mqliang/RecreateDeployment
...
Auto commit by PR queue bot
2016-01-13 01:04:51 -08:00
mqliang
92798408af
implement reconcileRecreateDeployment
2016-01-13 11:27:26 +08:00
Madhusudan.C.S
4caa8a2c1d
Move pod template hash and label adding util functions to their packages.
...
These utilities are useful outside Deployments as well, for example
in DaemonSets for DaemonSet updates. So move them to their own util
packages.
2016-01-12 16:11:00 -08:00
Janet Kuo
c2463a5aef
Generalize name of expectations since they aren't only used for pods
2016-01-12 14:48:57 -08:00
Janet Kuo
e1554c0f4d
Fix flaky e2e: Use expectation model for deployment's new rc creation
2016-01-12 14:48:57 -08:00
k8s-merge-robot
0df7e695d4
Merge pull request #19458 from davidopp/notsclose
...
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Michail Kargakis
dd84bba64c
Fix job status conditions bloat
...
When a job is complete, the controller will indefinitely update its conditions
with a Complete condition. This change makes the controller exit the
reconcilation as soon as the job is already found to be marked as complete.
2016-01-12 16:41:44 +01:00
k8s-merge-robot
5b43a12775
Merge pull request #17754 from WeixuZhuang/node_controller
...
Auto commit by PR queue bot
2016-01-12 02:47:23 -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
k8s-merge-robot
37b5726716
Merge pull request #14431 from Defensative/UDP-LB
...
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
Jan Safranek
8c48250a55
Add an integration test for volume tags.
2016-01-08 19:09:29 +01:00
Alex Robinson
6528999856
Resolve old TODO that was waiting on us to move off of go 1.3
2016-01-07 21:06:00 -05:00
Janet Kuo
c782aaa504
Wait for rc store synced before syncing deployment
2016-01-06 12:43:06 -08:00
Kenneth Shelton
9e6c45c395
Updated comments
...
Updated documentation
Fixed e2e test
2016-01-05 20:51:21 +00:00
Kenneth Shelton
d399a8f8cc
* Added UDP LB support (for GCE)
2016-01-05 20:51:21 +00: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
Jan Safranek
400ebf87a1
Add PV.Name to volume tags.
...
We add claim.Name and claim.Namespace as tags to AWS EBS / GCE PD / OpenStack
Cinder volumes created by Kubernetes. To easily match Kubernetes volumes and
cloud volumes, let's add also PV.Name.
2016-01-04 12:28:02 +01:00
markturansky
50d83f3851
added missing return statements
2016-01-03 13:54:09 -05:00
Weixu Zhuang
3928bd6e76
Fix TODO in pkg/controller/nodecontroller.go line 472
...
The code now calculates and find out the CIDRs for every node in any sync period.
I will fix this TODO by maintaining a set for available CIDRs left. Firstly, I will
insert 256 CIDRs into the available set. Once someone get one CIDR, remove this CIDR
from the available set. If one node get deleted, we will reinsert the CIDR associates
with this node back to available CIDR. Once there are nothing left in available CIDR set,
generate another 256 CIDRs and insert them into the available set. As a result, we do not
need to generate CIDRs in every monitor process and we only need to assign CIDR to node
which does not have it.
This commit also fix the error that CIDR may overflow when we use the function
generateCIDRs. There will be no more ip overflowing, all assigan CIDR will be valid
2015-12-28 11:15:38 -08: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
mqliang
7d87a1de99
create and delete concurrently
2015-12-26 21:30:31 +08:00
k8s-merge-robot
c3fcfd9651
Merge pull request #17881 from jiangyaoguo/emit-event-when-delete-pod
...
Auto commit by PR queue bot
2015-12-23 07:01:54 -08:00
Mike Danese
b2aa98f50d
fix flake in deployment unit test
2015-12-22 14:28:44 -08: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
jiangyaoguo
91e0bbebfb
emit event when controller delete pod
2015-12-21 02:11:55 +08:00
k8s-merge-robot
20b7810a21
Merge pull request #16667 from DirectXMan12/refactor/hpa-use-namespacers
...
Auto commit by PR queue bot
2015-12-20 07:34:39 -08:00
k8s-merge-robot
bb65bed98b
Merge pull request #16915 from kargakis/move-utility
...
Auto commit by PR queue bot
2015-12-19 17:58:37 -08:00
Janet Kuo
1a8f96231a
Add expectation model for pod deletion
2015-12-17 19:29:54 -08:00
Janet Kuo
32d153093e
Fix deployment tests failures; change ResyncPeriod
2015-12-17 19:29:54 -08:00
Sam Ghods
b838d8ce18
Add informers to deployment controller
2015-12-17 19:29:54 -08:00
markturansky
66b5844841
trigger syncClaim after pv provisioning to reduce wait
2015-12-17 21:35:10 -05:00
Eric Tune
1752cf22d4
Merge pull request #17940 from soltysh/job_deadline
...
Added ActiveDeadlineSeconds to jobs
2015-12-17 13:11:13 -08:00
Maciej Szulik
327c104460
Added ActiveDeadlineSeconds to jobs, allowing failing a job after
...
exceeding allowed time.
2015-12-17 15:26:42 +01:00
deads2k
9fda7f1812
update StatusDetails to handle Groups
2015-12-17 09:14:12 -05:00
combk8s
f697732a5d
move parse or die logic to selector.go
2015-12-17 19:59:46 +08:00
k8s-merge-robot
9b106f5bc9
Merge pull request #18083 from markturansky/fail_if_no_recycler
...
Auto commit by PR queue bot
2015-12-16 19:35:49 -08:00
Saad Ali
3968a5e63c
Merge pull request #18601 from pmorie/devel/provisioner-aws
...
Dynamic provisioner for AWS EBS
2015-12-16 10:51:35 -08:00
k8s-merge-robot
12552912c8
Merge pull request #18042 from markturansky/nil_pointer_fix
...
Auto commit by PR queue bot
2015-12-16 09:12:41 -08:00
Clayton Coleman
8f203a28f1
Change runtime.Object signature
2015-12-15 13:36:25 -05:00
kargakis
0c58170ad0
Move port utility out of endpoints controller
2015-12-15 18:54:08 +01:00
markturansky
4aacb76149
added cast checks to controllers to prevent nil panics
2015-12-15 11:34:03 -05:00
Jan Safranek
6ff5286df9
Implement Creater and Deleter interfaces for AWS EBS.
...
Also mark the created EBS volumes with tags, so the admin knows
who/what created the volumes.
2015-12-15 10:22:49 +01:00
Solly Ross
15fc230a59
Make HPA Controller use Namespacers
...
The HPA controller had previously used a single Client
object to act as three different Namespacers. To improve
ease of extensibility and to make it clearer what the HPA
controller actually needs to use from the client, it should
use separate Namespacers for each of its needs (Scales, HPAs,
and Events).
2015-12-14 11:41:00 -05:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08
Switch to versioned ListOptions in client.
2015-12-14 14:26:09 +01:00
Wojciech Tyczynski
342eee680c
Revert "[hpa] Parameterize tolerance, downscale, and upscale into HPAController, and add corresponding unit test for backsolved tolerance."
2015-12-13 09:54:43 +01:00
k8s-merge-robot
9b07349013
Merge pull request #18315 from jayunit100/hpa-tolerance-config
...
Auto commit by PR queue bot
2015-12-12 01:55:46 -08:00
Jeff Lowdermilk
f6686ba3a4
Merge pull request #18290 from wojtek-t/fast_namespace_deletion
...
Support collection deletion in apiserver.
2015-12-11 13:34:56 -08:00
markturansky
4fc1bf1f23
Added PersistentVolumeController
2015-12-11 10:33:30 -05:00
markturansky
34c063cfe1
attempt recycling once, fail pv permanently
2015-12-10 18:23:45 -05:00
Jay Vyas
5161d169ba
Parameterization for downscale, upscale, and tolerance with backsolving
...
unit test for visible testing of tolerance algorithm expectations. Logs for dScale, uScale, tol creation.
2015-12-10 10:59:21 -05:00
Wojciech Tyczynski
f28bb68d8c
Support collection deletion in apiserver.
2015-12-10 09:46:25 +01:00
Phillip Wittrock
c67ce887f2
Volume Metrics Interface and base implementation.
...
- Add volume.MetricsProvider function to Volume interface.
- Add volume.MetricsDu for providing metrics via executing "du".
- Add volulme.MetricsNil for unsupported Volumes.
2015-12-09 16:06:24 -08:00
k8s-merge-robot
b46cee885a
Merge pull request #18378 from krousey/controllerflake
...
Auto commit by PR queue bot
2015-12-09 08:44:29 -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
Kris
cec9c47f41
Only delete pods when they reach final state
2015-12-08 11:35:42 -08:00
deads2k
2ee3dfe415
update testapi to eliminate redundant fields
2015-12-07 15:54:26 -05:00
Wojciech Tyczynski
b0fcb5adef
Pass ListOptions to List in ListWatch.
2015-12-07 11:53:53 +01:00
k8s-merge-robot
db11f1b6c6
Merge pull request #17133 from derekwaynecarr/quota_controller_improvements
...
Auto commit by PR queue bot
2015-12-06 12:24:00 -08:00
k8s-merge-robot
e2679abdb8
Merge pull request #18011 from sdminonne/podSelector_labelSelector
...
Auto commit by PR queue bot
2015-12-05 13:56:04 -08:00
Janet Kuo
8fb0caa15b
Implement MinReadySeconds for Deployment
2015-12-04 12:58:34 -08:00
Salvatore Dario Minonne
80575c3093
renaming PodSelector to LabelSelector
2015-12-04 09:49:08 +01:00
Zach Loafman
a7da123836
Merge pull request #18173 from mikedanese/pod-stuck
...
actually validate semver in node controller rather than prefix checking
2015-12-03 15:55:22 -08:00
Mike Danese
f784be33ac
actually validate semver in node controller rather than prefix checking
2015-12-03 14:49:44 -08:00
derekwaynecarr
55d4f70f8e
Resource quota observes deletes faster
2015-12-03 17:35:05 -05:00
deads2k
7ae4d4f424
allow enforcing SA mountable secrets per SA
2015-12-03 13:53:01 -05:00
Wojciech Tyczynski
6dcb689d4e
Simplify List() signature in clients.
2015-12-03 09:54:07 +01:00
Marek Grabowski
f633aa67b1
Merge pull request #18065 from jszczepkowski/hpa-fix
...
Fixed forbidden window enforcement in horizontal pod autoscaler.
2015-12-03 08:36:10 +01:00
Jerzy Szczepkowski
8cdda36b1e
Fixed forbidden window enforcement in horizontal pod autoscaler.
...
Fixed forbidden window enforcement in horizontal pod autoscaler: time of the oldest report instead of now is taken into account. Fixes #17992 .
2015-12-03 08:29:24 +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
Weixu Zhuang
c7756ce8d5
Enqueue DaemonSet only it has new or updated nodes in it.
...
When add node or update node func is called, all DaemonSets are enqueued to workqueue
of DaemonSet Controller. The consumer of the workqueue does an iteration of node.List
for every DaemonSet in the workqueue.
This change examinate the daemonSet before we enqueue it into DaemonSetController's work queue.
It will enqueue the DaemonSet only when it is related to the changed node.
2015-11-30 11:51:43 -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
Clayton Coleman
1d592e4c28
Unversioned types should not use ambiguous go-int
...
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).
Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
Phillip Wittrock
6b358e43dd
Merge pull request #17747 from saad-ali/fixErrorCreatingPDTry2
...
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-25 15:57:42 -08:00
k8s-merge-robot
7f2f7aa091
Merge pull request #16432 from markturansky/recycler_race
...
Auto commit by PR queue bot
2015-11-25 11:54:06 -08:00
saadali
42b200a0a0
Refactor GCE wrapper library to allow execution from E2E test suite
...
This reverts commit 147b6911f5
, reversing
changes made to 6fd986065b
.
2015-11-25 11:48:06 -08: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
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
k8s-merge-robot
4fd6b6df06
Merge pull request #17316 from deads2k/gv-ClientForVersion
...
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
Hongchao Deng
13d152a873
RateLimiter: change CanAccept() to TryAccept()
2015-11-23 16:42:53 -08:00
k8s-merge-robot
06ef4b0a83
Merge pull request #17156 from feihujiang/moveListFunctionsFromRuntimeToMetaPackage
...
Auto commit by PR queue bot
2015-11-23 14:13:25 -08:00
k8s-merge-robot
2d4757a8df
Merge pull request #17306 from combk8s/patch-1
...
Auto commit by PR queue bot
2015-11-23 08:21:37 -08:00
Jerzy Szczepkowski
8a922e22be
Revert "Refactor GCE wrapper library to allow execution from E2E test suite"
2015-11-23 09:24:32 +01:00
k8s-merge-robot
3fbf0cb810
Merge pull request #17276 from saad-ali/fixErrorCreatingPD
...
Auto commit by PR queue bot
2015-11-21 23:32:30 -08:00
deads2k
a87d927588
update client.Config to use GroupVersion
2015-11-21 08:29:26 -05:00
saadali
882469dd7b
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-20 11:41:10 -08:00
feihujiang
ad79fa6e84
Move list functions from runtime to meta package
2015-11-20 09:20:55 +08:00
Mike Danese
a6fb172818
extract shouldRun predicate to a function in daemonset controller
2015-11-18 16:44:41 -08:00
Abhi Shah
a63711c143
Merge pull request #17318 from mikedanese/ds-fix
...
daemonset shouldn't place onto unschedulable nodes
2015-11-18 14:51:32 -08:00
combk8s
9bad6b65ec
Update nodecontroller.go
2015-11-18 19:58:53 +08:00
k8s-merge-robot
849280f18d
Merge pull request #16926 from liggitt/metrics_https
...
Auto commit by PR queue bot
2015-11-17 04:05:27 -08:00
Tim Hockin
ba383bcfeb
Refactor IntOrString into a new pkg
...
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions. No behavioral change.
2015-11-16 10:57:52 -08:00
Jordan Liggitt
165d7d5030
Enable specifying scheme/port for metrics client
2015-11-16 13:18:40 -05:00
Mike Danese
f674109502
daemonset shouldn't place onto unschedulable nodes
2015-11-16 10:17:40 -08:00
Mike Danese
7a7f31ead1
move daemonset to generalized label selector
2015-11-13 10:31:50 -08:00
k8s-merge-robot
21dbeb5302
Merge pull request #16714 from liggitt/tolerate_exists_errors
...
Auto commit by PR queue bot
2015-11-13 03:36:16 -08:00
Wojciech Tyczynski
a5a8717539
Pass versioner to cacher.
2015-11-13 08:35:28 +01:00
k8s-merge-robot
6ef6b9e055
Merge pull request #17054 from mesosphere/sttts-set-pod-resources
...
Auto commit by PR queue bot
2015-11-12 22:29:26 -08:00
markturansky
b9b8cf7fff
Fixed race condition in pv binder
2015-11-12 13:55:09 -05:00
k8s-merge-robot
a752dad1ba
Merge pull request #16818 from derekwaynecarr/ns_controller_race
...
Auto commit by PR queue bot
2015-11-12 09:20:20 -08:00
Dr. Stefan Schimanski
a3f02cda17
Add resource requests support
2015-11-12 16:56:07 +01:00
combk8s
50ce7ff1f2
Update nodecontroller.go
2015-11-10 20:27:33 +08:00
Mike Danese
9b982e1d3c
generate rc name from deployment name
2015-11-09 15:33:04 -08:00
derekwaynecarr
745c58e788
Namespace controller should always get latest state prior to deletion
2015-11-06 11:43:56 -05:00
k8s-merge-robot
76ec5cd1c8
Merge pull request #16784 from mqliang/AssignLoop
...
Auto commit by PR queue bot
2015-11-05 14:24:37 -08:00
k8s-merge-robot
cdbb461194
Merge pull request #16745 from pmorie/replica-count-update-debug
...
Auto commit by PR queue bot
2015-11-05 01:12:15 -08:00
k8s-merge-robot
2842d9476b
Merge pull request #16496 from wojtek-t/switch_cacher_for_other_resources
...
Auto commit by PR queue bot
2015-11-04 03:01:24 -08:00
mqliang
f26d437903
move assignment in loop
2015-11-04 15:42:25 +08:00
Paul Morie
09701b4fa8
Surface replica count update errors in log
2015-11-03 14:20:08 -05:00
deads2k
fd1c8e096a
eliminate cross-namespace HPA escalation attack
2015-11-03 08:05:26 -05:00
k8s-merge-robot
76083f73dc
Merge pull request #16671 from DirectXMan12/refactor/hpa-heapster-service
...
Auto commit by PR queue bot
2015-11-03 03:58:26 -08:00
Wojciech Tyczynski
030a272db5
Enable cacher for all resources.
2015-11-03 11:55:37 +01:00
Jordan Liggitt
974af49e77
Tolerate AlreadyExists errors when creating service accounts
2015-11-03 00:35:19 -05:00
k8s-merge-robot
990c0184be
Merge pull request #16330 from mikedanese/deploy-ptr
...
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Solly Ross
f262560cac
Customize HPA Heapster service namespace/name
...
This commit makes the HPA metrics client configurable in where
it looks for heapster instead of hard coding it to
"kube-system/heapster". The values of "kube-system/heapster"
are still recorded as constants in the metrics client package
for use as default values.
2015-11-02 11:14:08 -05:00
Alex Robinson
97275873ff
Merge pull request #16591 from kubernetes/revert-15838-issue14500
...
Revert "An attempt to fix flake in TestControllerSyncJob (14500)"
2015-10-30 13:14:05 -07:00
Eric Tune
a600ac0cca
Revert "An attempt to fix flake in TestControllerSyncJob (14500)"
2015-10-30 08:56:11 -07:00
Wojciech Tyczynski
aac55d4795
Unify List() signature in clients
2015-10-30 15:43:40 +01:00
k8s-merge-robot
536740f38f
Merge pull request #16443 from brendandburns/lb2
...
Auto commit by PR queue bot
2015-10-30 02:05:11 -07:00
David Oppenheimer
899ddc66eb
Merge pull request #16478 from mikedanese/ds-nodeready
...
daemonset don't place pods on notready nodes
2015-10-30 01:07:28 -07:00
Brendan Burns
604203595a
Fix a bug where nodes that weren't schedulable or ready are added to load balancers
2015-10-29 22:05:08 -07:00
k8s-merge-robot
f4b2d8358f
Merge pull request #16179 from madhusudancs/master-out-of-disk
...
Auto commit by PR queue bot
2015-10-29 11:57:25 -07:00
k8s-merge-robot
1ecda94f0a
Merge pull request #15305 from mqliang/deamonSetList
...
Auto commit by PR queue bot
2015-10-29 11:25:52 -07:00
Mike Danese
f237db81f0
daemonset don't place pods on notready nodes
2015-10-29 11:11:20 -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
Mike Danese
b0a41108af
move deployment PodTemplate to be not a pointer
2015-10-28 00:13:40 -07:00
k8s-merge-robot
d228fd6d9c
Merge pull request #15809 from mikedanese/deploy
...
Auto commit by PR queue bot
2015-10-27 19:25:12 -07:00
Jerzy Szczepkowski
5ef087adab
Merge pull request #16266 from wojtek-t/fix_handshake_reflector
...
Reuse TCP connections in Reflector between resync periods.
2015-10-27 10:36:18 +01:00
k8s-merge-robot
df265b2d6e
Merge pull request #15510 from aveshagarwal/master-selflink-objref
...
Auto commit by PR queue bot
2015-10-27 00:37:21 -07:00
Wojciech Tyczynski
d47e21f19f
Reuse TCP connections in Reflector between resync periods.
2015-10-26 19:35:25 +01:00
Jerzy Szczepkowski
de25a3bc08
Fixed resetting last scale time in HPA status.
...
Fixed resetting last scale time in HPA status. Fixes #16275 .
2015-10-26 16:36:05 +01:00