Commit Graph

131 Commits (fe7a573315db016e9852b7907b96f54f57d12502)

Author SHA1 Message Date
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
Justin Santa Barbara c3a6d00099 Rename TestIPAddress -> TestNodeAddresses 2015-03-13 18:09:31 -04:00
Justin Santa Barbara 99da56fb06 Fix problems identified in review 2015-03-13 18:07:08 -04:00
Brendan Burns cf68593fc2 Merge pull request #5228 from justinsb/aws_lb_string
Change cloud provider CreateTCPLoadBalancer to return endpoint as string
2015-03-13 12:16:26 -07:00
Deyuan Deng 97e12957e6 Merge pull request #5257 from deads2k/deads-eliminate-wait-for-no-nodes
eliminate wait with no nodes
2015-03-13 13:48:49 -04: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
Prashanth Balasubramanian 4849f33cc5 Don't check status of a failed delete operation 2015-03-12 08:52:18 -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
deads2k 91b92eba2f eliminate wait with no nodes 2015-03-10 14:22:43 -04:00
Dawn Chen 56cbe6c59f Merge pull request #5231 from mikedanese/no-more-globals
Move global func into NodeController
2015-03-10 11:12:45 -07:00
Brian Grant b3d3db08ef Merge pull request #5064 from justinsb/ignore_stopped_aws_instances
Ignore EC2 instances that are stopped
2015-03-10 11:03:34 -07:00
Federico Simoncelli 644d775bc1 kubelet: retport system info in node information
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:02 -04:00
Federico Simoncelli 1b18440f35 kubelet: add GetNodeInfo implementation
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-10 10:11:01 -04:00
Justin Santa Barbara 3eab40cabd AWS support for Zones 2015-03-10 05:49:26 -07:00
Mike Danese 14f705c74c move global func into NodeController 2015-03-09 21:25:19 -07:00
Justin Santa Barbara 5d36d3cdbe Change cloud provider CreateTCPLoadBalancer to return endpoint as string
Some load balancers (particularly AWS ELB) define the public endpoint
as a hostname (instead of using IP addresses).

This is a partial fix for #5224; there will also be some proxy work.
2015-03-09 20:35:13 -07:00
Justin Santa Barbara a3ae480acc Ignore EC2 instances that are stopped
Otherwise we pick up previous cluster instances (in EC2, stopped instances hang around for
a while - maybe 30 minutes?)
2015-03-09 19:03:46 -07:00
Brendan Burns 8dd61e25fa Merge pull request #5137 from ddysher/gce-externalid
Use FormatInt instead of string for external id.
2015-03-09 13:47:24 -07:00
Daniel Smith 2a7be5619a Merge pull request #5116 from justinsb/skip_duplicate_node_address
Don't allow duplicate values in NodeAddresses
2015-03-09 11:59:54 -07:00
Eric Tune b259640a5f Merge pull request #5072 from justinsb/fix_aws_test
Fix the logic around the AWS instance test
2015-03-06 13:49:41 -08:00
Deyuan Deng 3c460831ca Use FormatInt instead of string for external id. 2015-03-06 13:45:52 -05:00
Brendan Burns 5b6a78fc77 Place external load balancers in a namespace, and add a test to validate the behavior. 2015-03-06 17:16:27 +01:00
Justin Santa Barbara bf031fb082 Don't allow duplicate values in NodeAddresses 2015-03-05 16:40:28 -08:00
Brian Grant 9fcb48cab6 Merge pull request #4434 from ddysher/node-hostip
Node addresses
2015-03-05 10:33:15 -08:00
Justin Santa Barbara e25c9f8644 Fix the logic around the AWS instance test
We test that when we get instances with the same name that we get an error
2015-03-05 09:31:47 -05:00
Justin Santa Barbara cc81742e40 Implement EC2 filter in tests 2015-03-05 09:06:29 -05:00
Justin Santa Barbara 3012724d13 Strip single-quotes around regex for AWS
It looks like GCE ignores them; we can't
2015-03-04 17:34:51 -05: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
Brendan Burns 843fa71f2b Merge pull request #4938 from tkulczynski/opfix
Fix waiting for GCE Operations
2015-03-02 10:47:46 -08:00
Tomek Kulczynski c4e786c701 Fix waiting for GCE Operations 2015-03-02 13:34:37 +01: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
Brendan Burns a862c37b29 Merge pull request #4383 from simon3z/instances-id
cloudprovider: add instance id to NodeSpec
2015-02-26 14:13:49 -08:00
Brendan Burns 7665b2668f Merge pull request #4770 from gmarek/client4
Add waiting for GCE operations to finish before proceeding in various functions.
2015-02-26 13:05:11 -08:00
Federico Simoncelli b942b1cb71 vagrant: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli bfb93a1928 openstack: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli ad6091be99 gce: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:13 +00:00
Federico Simoncelli 6b16f80dc1 aws: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli 1fc56aa023 ovirt: report the nodes external id
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli a450da4fd0 cloudprovider: add instance id to NodeSpec
Sometimes for external applications it is important to identify the
cloud instance of the nodes. Until this patch there was no contract
that the node name returned by List was also the unique identifier of
the cloud instance. This new API ensures that an external application
can reliably retrieve the relevant instance id of the nodes.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Federico Simoncelli 8844c06574 ovirt: fetch instance ip address from rest-api
This patch adds the support for returning the ip address of the instances
when reported by the guest-agent and from the rest-api.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-02-26 20:52:12 +00:00
Deyuan Deng d47fd48e55 Fix delete pod namespace; include error message when failed deleting pods 2015-02-25 20:03:22 -05:00
gmarek 0be5aa52e6 Apply comments 2015-02-25 08:06:45 +01:00
Justin Santa Barbara e457286983 Fix typo: registrying -> registering 2015-02-24 16:21:14 -08:00
gmarek 9996654c4c Add waiting for GCE operations to finish before proceeding in various
functions.
2015-02-24 14:32:21 +01:00
Mike Danese 5267127af1 api: rename conditionkind -> conditiontype 2015-02-23 22:13:21 -08:00