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
Tim Hockin
003c0986b4
Merge pull request #4478 from thommay/rackspace_cloud_base
...
Basic Rackspace cloud support
2015-02-17 13:41:31 -08:00
Thom May
8357e1521a
Basic Rackspace cloud support
...
This enables all but Load Balancer support for the Rackspace public
cloud platform.
2015-02-17 10:59:40 +00:00
Salvatore Dario Minonne
bc868b97b8
Fix typos in vagrant.go
2015-02-14 06:20:03 +01:00
Federico Simoncelli
45bc19beb5
ovirt: fix IPAddress lookup implementation
...
The ovirt instance is reported using its hostname. The IPAddress
implementation should lookup the ip (instead of parsing it as if
it was already an address).
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com >
2015-02-11 17:47:26 -05: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
Ravi Sankar Penta
3a5ef05f64
Make periodic sync nodes from cloud provider optional.
...
--sync_nodes=false gives user flexibility to add/remove nodes in the
cluster using REST api/kubectl cli and at the same time can use
cloud provider for other resources like persistent disks, etc.
2015-02-09 13:42:44 -08: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
Victor Marmol
41bc0b301d
Using metadata library for GCE metadata fetch.
...
Fixes #3343 .
2015-01-28 09:20:25 -08:00
Fumitoshi Ukai
54f498acd5
cloudprovider/gce: use golang.org/x/oauth2
...
code.google.com/p/goauth2 is deprecated.
use golang.org/x/oauth2 instead.
hooks/prepare-commit-msg ignore Godeps
for sh's boilerplate check.
2015-01-16 12:17:52 +09: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
Daniel Smith
2050131b9a
ParseOrDie -> MustParse; stop returning pointer
2015-01-07 15:21:35 -08:00
Daniel Smith
35f54addca
Update more packages, tests, binaries for quantity
...
make etcd registry pass test
fix kubelet config for quantity
fix openstack for quantity
fix controller for quantity
fix last tests for quantity
wire into binaries
fix controller manager
fix build for 32 bit systems
2015-01-07 15:21:35 -08:00
Daniel Smith
7f49ba0dcf
Put quantity into packages
...
kubelet, GCE, validation, client
2015-01-07 15:21:34 -08:00
Rohit Jnagal
62ecd5f3ff
Fix few vet errors.
...
There are quite a few 'composite literal uses unkeyed fields' errors that I have kept out of this patch.
And there's a couple where vet just seems confused. These are the easiest ones.
2015-01-07 08:40:16 +00:00
Brendan Burns
1d58958db8
Fix the build.
2014-12-23 10:28:26 -08:00
Brendan Burns
c7d3b12d43
Merge pull request #2051 from anguslees/openstack-provider
...
Openstack provider
2014-12-23 09:33:19 -08:00