Zach Loafman
7189db3701
Merge pull request #19396 from justinsb/aws_mountdevice
...
AWS: Use a strongly typed mountDevice
2016-01-22 11:04:23 -08:00
Justin Santa Barbara
2201c631b3
Fix for panic when instance not found
...
This removes a panic I mistakenly introduced when an instance is not
found, and also restores the exact prior behaviour for
getInstanceByName, where it returns cloudprovider.InstanceNotFound when
the instance is not found.
2016-01-21 19:15:09 -05:00
Alex Mohr
f64a40f315
Merge pull request #19863 from justinsb/aws_fix_loadbalancer_tcp_check
...
AWS: Eliminate assumptions about all load-balancer ports matching
2016-01-21 10:52:20 -08:00
Alex Mohr
b8f8a62775
Merge pull request #19862 from justinsb/aws_fix_tcploadbalancer_comment
...
AWS: Fix comment to reflect new method name
2016-01-21 10:51:37 -08:00
Alex Mohr
8e9bebb424
Merge pull request #19861 from justinsb/aws_remove_dead_code
...
AWS: Remove dead code
2016-01-21 10:51:06 -08:00
Alex Mohr
819cdc85d3
Merge pull request #19390 from danielschonfeld/optimize-kubelet-heartbeat-aws
...
optimize kubelet heartbeats instance data to be cached for AWS
2016-01-21 10:33:00 -08:00
Alex Mohr
d2d349bc84
Merge pull request #19334 from resouer/network
...
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Alex Mohr
eaa61a72b0
Merge pull request #17919 from justinsb/multizone_gce
...
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
k8s-merge-robot
0f6f521beb
Merge pull request #18959 from jsafrane/devel/cinder-tags
...
Auto commit by PR queue bot
2016-01-21 03:33:58 -08:00
Justin Santa Barbara
43cbfb74fe
Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
...
We adapt the existing code to work across all zones in a region.
We require a feature-flag to enable Ubernetes-Lite
Reasons:
* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.
There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
Justin Santa Barbara
0586d866de
AWS: Eliminate assumptions about all load-balancer ports matching
...
It costs us basically nothing to just check all the ports, and
protects us against future changes to the controller.
2016-01-20 09:30:46 -05:00
Justin Santa Barbara
12dd568662
AWS: Fix comment to reflect new method name
...
TCPLoadBalancer.EnsureTCPLoadBalancer => LoadBalancer.EnsureLoadBalancer
2016-01-20 09:28:28 -05:00
Justin Santa Barbara
30882265b6
AWS: Remove dead code
...
I think I added these functions by mistake; they aren't used and
apparently never were.
2016-01-20 09:23:53 -05:00
k8s-merge-robot
4969f11089
Merge pull request #19439 from bprashanth/compute_dep
...
Auto commit by PR queue bot
2016-01-16 10:38:11 -08:00
Harry Zhang
936a11e775
Use networking to hold network related pkgs
...
Change names of unclear methods
Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese
1f0b10bd22
Merge pull request #19538 from mesosphere/jdef_mesos_026_compat
...
MESOS: compatibility w/ mesos v0.26
2016-01-14 13:44:42 -08:00
Daniel Schonfeld
12cbc9ff89
optimize ExternalId() and InstanceId() to returned cached results directly from the metadata service
2016-01-13 23:36:57 -05:00
James DeFelice
ad1803a4ce
construct master URIs from MasterInfo.Address if present; prefer /state over /state.json
2016-01-12 17:49:19 +00: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
Prashanth Balasubramanian
cc09a603dd
Code changes
2016-01-11 16:27:12 -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
k8s-merge-robot
e0e305c6be
Merge pull request #19337 from danielschonfeld/optimize-list-routes
...
Auto commit by PR queue bot
2016-01-08 10:19:47 -08:00
Justin Santa Barbara
03900b1dc9
AWS: Use a strongly typed mountDevice
...
We've had problems in the past from using a string with passing the
wrong value when detaching; stronger typing would have caught this for
us.
2016-01-08 00:25:11 -05:00
Daniel Schonfeld
24c44e7a8e
optimize ListRoutes to fetch instances only once per call
...
Issue #12121 - fixes courtesy of @justinsb - thank you
2016-01-07 14:32:37 -05:00
Justin Santa Barbara
e7c3a08947
AWS: Provide newly required initialization arguments
...
It seems that some formerly optional arguments are now required in the
latest aws-sdk-go, see e.g.
https://github.com/aws/aws-sdk-go/issues/452 .
2016-01-06 13:37:02 -05: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
Trevor Pounds
bbc181d1f8
Remove unused EC2 metadata functions.
2016-01-04 16:10:23 -08:00
Trevor Pounds
89d7eb050a
Update AWS cloud provider to aws-sdk-go v1.0.2.
2016-01-04 16:10:23 -08:00
Justin Santa Barbara
7444216d4f
AWS: Delete routes during create if they are black-holed
...
If a route already exists but is invalid (e.g. from a crash), we
automatically delete it before trying to create a route that would
otherwise conflict.
2016-01-03 18:19:12 -05:00
Justin Santa Barbara
f9a6ac077e
Ubernetes Lite: Volumes can dictate zone scheduling
...
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.
So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels. This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.
Support for tagging GCE PVs will follow.
Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Jan Safranek
815d1e0865
Tag OpenStack Cinder volumes created by Kubernetes.
...
This synchronizes Cinder with AWS EBS code, where we already tag volumes with
claim.Namespace and claim.Name (and pv.Name, as suggested in separate PR).
2015-12-21 11:36:42 +01:00
Jan Safranek
2f06ebf9b7
Implement Creater and Deleter interfaces for Cinder.
2015-12-16 14:23:14 -05:00
Jan Safranek
1b7445a6e2
Use SSD as default volume type.
...
General purpose SSD ('gp2') volume type is just slighly more expensive than
Magnetic ('standard' / default in AWS), while the performance gain is pretty
significant.
So far, the volumes were created only during testing, where the extra cost
won't make any difference. In future, we plan to introduce QoS classes, where
users could choose SSD/Magnetic depending on their use cases.
'gp2' is just the default volume type for (hopefuly) short period before these
QoS classes are implemented.
2015-12-15 12:14:48 +01: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
Jan Safranek
700d92c2a8
AWS: Use GiB as units for disk sizes.
...
From some reason, MiBs were used for public functions and AWS cloud provider
recalculated them to GiB. Let's expose what AWS really supports and don't hide
real allocation units.
2015-12-15 10:18:00 +01:00
k8s-merge-robot
56cd501598
Merge pull request #18427 from mesosphere/sttts-cloud-provider-npe
...
Auto commit by PR queue bot
2015-12-09 08:45:06 -08:00
Dr. Stefan Schimanski
60ce27cb50
cloudprovider/mesos: fix panics when the Mesos master cannot be reached
2015-12-09 12:58:38 +01:00
Robert Bailey
2ecf504a2e
Change the gce constant for session affinity to have the capitalization
...
shown in the documentation.
Fixes #18347
2015-12-08 09:36:49 -08:00
Mike Danese
dcdd7f1ca8
remove vagrant cloud provider
2015-12-02 13:20:54 -08:00
Sebastien LAWNICZAK
3eae5895f8
Passing DomainID/DomainName to AuthOptions
...
To be able to use Domains with IdentityV3, domain-id/domain-name in provider config should be passed to gophercloud.AuthOptions
2015-12-01 23:12:25 +01:00
k8s-merge-robot
74049947d2
Merge pull request #12589 from slaws/os-vip-with-floatingip
...
Auto commit by PR queue bot
2015-12-01 02:01:39 -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
9a4a8075ed
Merge pull request #15537 from jsafrane/devel/cinder-hostname
...
Auto commit by PR queue bot
2015-11-24 06:47:40 -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
saadali
882469dd7b
Refactor GCE wrapper library to allow execution from E2E test suite
2015-11-20 11:41:10 -08:00
Brendan Burns
4903474bad
Remove container api, its no longer generated and breaking godeps.
2015-11-19 09:20:28 -05:00
Dr. Stefan Schimanski
2f45d5706b
Add node status update controller
2015-11-16 11:48:04 +01:00
Dr. Stefan Schimanski
0c1d90bf5f
Add ListWithoutKubelet to mesos cloud provider
2015-11-16 11:48:04 +01:00