Commit Graph

43 Commits

Author SHA1 Message Date
gmarek
ef56dca6b6 Remove ConditionSchedulable 2015-04-07 17:01:07 +02:00
gmarek
751d1d25ff Add timestamp cache to NodeController 2015-04-07 09:15:35 +02:00
Piotr Szczesniak
8bc9f5fef7 Added rate limiting to pod deletion
Fixes #6228
2015-04-03 06:58:59 +02:00
Piotr Szczesniak
5c6439d449 Removed PodStatus.Host
Fixes #6165
2015-04-02 16:38:45 +02:00
Piotr Szczesniak
81683441b9 Merge pull request #6156 from gmarek/retry_loop
Add a retry loop to UpdateStatus in NodeController
2015-04-01 09:16:11 +02:00
Victor Marmol
44fda1fcd1 Merge pull request #6161 from justinsb/populate_addresses_new_nodes
Make sure we have addresses for newly discovered nodes
2015-03-31 14:46:06 -07:00
Justin Santa Barbara
72ee90494e Add unit test 2015-03-31 12:58:29 -07:00
gmarek
fa6d5e259f Add a retry loop to UpdateStatus in NodeController 2015-03-31 11:22:02 +02: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
Federico Simoncelli
0e60374346 nodes: record an event on NodeReady changes
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-30 12:01:09 -04:00
gmarek
5a11748018 Move Capacity from NodeSpec to NodeStatus 2015-03-26 15:28:48 +01:00
Rohit Jnagal
49ff04765b Add validation for node creation. 2015-03-25 21:55:03 +00:00
Federico Simoncelli
5b3056cdb7 nodecontroller: add event recorder support
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-25 15:06:53 -04:00
Deyuan Deng
ca68f4a9d1 Rename ConditionFull->ConditionTrue, ConditionNone->ConditionFalse 2015-03-24 17:28:59 -04:00
Deyuan Deng
c5675b8924 Use fake time in nodecontroller unittest; rename receiver 's' to 'nc' 2015-03-24 14:23:48 -04:00
Deyuan Deng
b51d491f05 Delete all pods based on condition transition time. 2015-03-24 14:23:48 -04:00
Deyuan Deng
0d5f8dfde1 Node controller monitor node status 2015-03-24 14:19:56 -04:00
Jordan Liggitt
a75b501821 Improve ResourceLocation API, allow proxy to use authenticated transport 2015-03-24 11:11:34 -04:00
Jerzy Szczepkowski
34a8a3a844 Running node selector predicate on kubelet.
Added checking on kubelet if scheduled pods have matching node selector. This is the last step to fix #5207.
2015-03-23 08:21:58 +01:00
Alex Robinson
579edee4c2 Merge pull request #5346 from justinsb/cloudprovider_multiple_addresses
Let CloudProvider return list of NodeAddress, not just one net.IP
2015-03-13 15:45:11 -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
Justin Santa Barbara
bc16d83a51 Let CloudProvider return list of NodeAddress, not just one net.IP
This lets cloud providers populate the NodeAddress array
2015-03-11 16:50:26 -07:00
Brian Grant
9aa744925e Merge pull request #5030 from simon3z/nodeinfo
Add support for fetching node collected information
2015-03-10 14:05:41 -07:00
Federico Simoncelli
1b18440f35 kubelet: add GetNodeInfo implementation
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:01 -04:00
Mike Danese
14f705c74c move global func into NodeController 2015-03-09 21:25:19 -07:00
Deyuan Deng
9b0af8df63 Node addresses 2015-03-04 16:47:31 -05:00
Eric Tune
0059c39211 Merge pull request #5008 from ddysher/external-id
Move Node.ExternalID to CloudNodes()
2015-03-04 12:30:38 -08:00
Mike Danese
a663d3b1f3 mock LookupIP to speedup nodecontroller_test on some runtimes 2015-03-04 10:27:45 -08:00
Deyuan Deng
53e17f0fa5 Move Node.ExternalID to CloudNodes() 2015-03-03 19:37:46 -05:00
derekwaynecarr
8150649cf3 nodecontroller sync cloud was not setting external id in all code paths 2015-03-03 16:39:06 -05:00
Jerzy Szczepkowski
e0548c3c03 Node controller supports disabling node probes.
Node controller supports disabling sending node probes and updating node statuses. Controlled by --sync_node_status flag. Resolves #4565.
2015-02-27 08:21:04 +01:00
Mike Danese
5267127af1 api: rename conditionkind -> conditiontype 2015-02-23 22:13:21 -08:00
Deyuan Deng
4c6f6e0efc Refactor RegisterRetryCount, improve tests 2015-02-09 17:55:28 -05:00
Deyuan Deng
55b9944cfe Remove pods from failed node 2015-02-09 17:50:24 -05:00
Deyuan Deng
91b43a4b16 Merge pull request #4165 from smarterclayton/ignore_already_exists_errors_on_create_node
NodeController should tolerate when nodes already exist
2015-02-09 11:01:17 -05:00
Clayton Coleman
8c1206ca2d NodeController should tolerate when nodes already exist
During startup, if nodes have already been defined the controller
does not need to create them, just needs to keep them up to date.
When defining a static list, the controller would loop and fail
repeatedly if the node existed.

I don't know if we need to update the node during registration,
as long as the sync loop checks it later.
2015-02-08 21:44:08 -05:00
Deyuan Deng
08721e0a00 Populate node statu transition timestamp and reason 2015-02-06 18:42:41 -05:00
Mike Danese
14bfec92f2 rename probe.Status to probe.Result. 2015-02-05 15:49:58 -08:00
Deyuan Deng
de51527a28 Lower case node names before registering 2015-02-03 18:07:12 -05:00
Deyuan Deng
53d44a6f5f Move hostip to sync status 2015-01-30 16:03:30 -05:00
Deyuan Deng
c793c4f0ab Sync node status from node controller to master. 2015-01-29 23:17:15 -05:00
Deyuan Deng
0e13a24864 Post hostip for static machines 2015-01-09 19:38:10 -05:00
Deyuan Deng
a2651bfcc7 Rename minioncontroller to nodecontroller 2015-01-08 14:52:10 -05:00