Commit Graph

55 Commits

Author SHA1 Message Date
Justin Santa Barbara
1e99426d5b Support for AWS ELB 2015-05-29 18:53:35 -04:00
Tim Hockin
32bb3ae8f1 Merge pull request #7775 from simon3z/cloud-provider-id
api: add the ProviderID attribute to NodeSpec
2015-05-28 15:54:00 -07:00
Federico Simoncelli
185d0e19d5 cloudprovider: aws InstanceID implementation
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 13:02:11 -04:00
Federico Simoncelli
faba12951a cloudprovider: add support for InstanceID method
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 12:47:50 -04:00
Federico Simoncelli
194343267d cloudprovider: add the ProviderName method
This patch adds the ProviderName method used to identify the cloud
provider.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-05-28 12:47:47 -04:00
Justin Santa Barbara
97a312f72c Fix AWS volume detach 2015-05-28 06:48:19 -04:00
Dawn Chen
17ac4b1dfc Merge pull request #8297 from iterion/switch-to-aws-sdk-go
AWS: Switch to aws-sdk-go
2015-05-22 12:31:07 -07:00
CJ Cullen
0d12a15971 Route creation reconciler loop. 2015-05-20 14:21:30 -07:00
Adam Sunderland
ad9f2d7a56 Fix Some AWS Issues 2015-05-20 10:42:27 -05:00
Adam Sunderland
6f6ca0433f Fixing Tests 2015-05-14 19:24:27 -05:00
Adam Sunderland
9849db7fdf Fixing Many Issues 2015-05-14 18:53:47 -05:00
Adam Sunderland
ff9996c100 Use aws-sdk-go 2015-05-14 14:18:25 -05:00
Tomek Kulczynski
290c7b94ef Make nodecontroller configure nodes' pod IP ranges 2015-05-05 16:10:42 -07:00
Eric Paris
6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Justin Santa Barbara
335f42b38c AWS: Return public & private addresses in GetNodeAddresses 2015-04-19 21:10:44 -07:00
Justin Santa Barbara
9462471bcd Fix some mistaken volumeId -> volumeID changes 2015-04-10 13:25:44 -07:00
Justin Santa Barbara
933cf60af7 Style: volumeId -> volumeID 2015-04-10 13:25:44 -07:00
Justin Santa Barbara
98c9ebbc50 Style: Aws -> AWS 2015-04-10 13:25:44 -07:00
Justin Santa Barbara
2afc1840b6 Style: awsId -> awsID 2015-04-10 13:25:44 -07:00
Justin Santa Barbara
46f9c2cc3c Style: Ebs -> EBS 2015-04-10 13:25:44 -07:00
Justin Santa Barbara
5a887e83e7 Remove now-unused instanceId parameter from newAwsCloud 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
4e176771b6 Make fetching the aws instance id optional, so we can use it on e2e 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
aa6051026e Add comment about EBS status being a bit slow through API 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
0101bf2081 Fix detached-check logic, warn on multiple attachments 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
21beabd0a7 Default attachment status to detached
So no-attachments = status detached
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
6c823dbdab Small clean-ups 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
f2184e0860 Fix comment 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
ee72fa4d61 Tolerate volume being already-attached 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
86ddc0f96a Fix mountpoint values 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
e56e2ee46a Strip leading slash from url path when parsing aws volume 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
89089900d7 Fix merge problems 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
2812936d34 Simplify logic of pd.go 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
6a4153fc0a Always create volumes in the active k8s zone 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
ffadd5533a Fix AWS region vs zone
We were specifying a region, but naming it as a zone in util.sh

The zone matters just as much as the region, e.g. for EBS volumes.

We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
8fde691aa7 Fix tests 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
edf0292d4a Add initial support for Volumes to AWS 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
b61fc222bb Make AWS configuration file optional (fall-back to metadata service) 2015-04-03 13:42:31 -07:00
Zach Loafman
fc8ba8d77b Merge pull request #6011 from justinsb/aws_specify_zone
Fix AWS region vs zone
2015-03-31 12:26:05 -07:00
Justin Santa Barbara
63f63aa9de Don't list AWS instances until they are actually ready 2015-03-30 08:06:18 -07:00
Justin Santa Barbara
583892da2d Fix AWS region vs zone
We were specifying a region, but naming it as a zone in util.sh

The zone matters just as much as the region, e.g. for EBS volumes.

We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-03-26 15:11:05 -07:00
Brendan Burns
5fb18c6f33 Merge pull request #5101 from justinsb/aws_getnoderesources
Add support for GetNodeResources to AWS
2015-03-17 07:30:34 -07:00
Justin Santa Barbara
51aded0661 Add support for GetNodeResources to AWS 2015-03-13 22:59:28 -04: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
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
Justin Santa Barbara
3eab40cabd AWS support for Zones 2015-03-10 05:49:26 -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
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
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
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