Justin Santa Barbara
c741b8f3ae
Pass ports as []*api.ServicePort into LoadBalancer provider
...
Because AWS needs the NodePort; this also paves the way for e.g. UDP balancing
2015-05-29 18:47:05 -04:00
Rohit Jnagal
ae8bc2c47b
Merge pull request #8887 from brendandburns/balancer
...
Add event generation when create/delete of balancers fails.
2015-05-29 13:32:11 -07:00
Prashanth B
6c209ec193
Revert "Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones""
2015-05-29 09:24:39 -07:00
Brendan Burns
9ccd349a7d
Add event generation when create/delete of balancers fails.
2015-05-28 13:51:39 -07:00
Tim Hockin
b69fad211e
Revert "Wake up rcs when pods get DeletionFinalStateUnknown tombstones"
2015-05-28 10:23:55 -07:00
Wojciech Tyczynski
6ffe46a9e0
Merge pull request #8822 from bprashanth/fifo_rc
...
Wake up rcs when pods get DeletionFinalStateUnknown tombstones
2015-05-28 10:50:28 +02:00
Prashanth Balasubramanian
8fa66bd962
Delta fifo includes objects in DeleteFinalStateUnknow, rcs stop faster
2015-05-27 16:45:51 -07:00
Alex Robinson
9d61a95464
Adjust the sleep time before tearing down e2e clusters and add a rough formula
...
for determining how long the sleep should be.
2015-05-26 21:09:05 +00:00
Justin Santa Barbara
bb697cee7e
Clear LoadBalancerStatus both on LB delete and on update in the API
...
Although it takes some time to destroy a load balancer, we hide this complexity
from the user.
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
a271771341
Richer errors for validation
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
7346cc8042
Add ServiceType = NodePort; wire everything up
2015-05-22 19:14:28 -04:00
Justin Santa Barbara
e49ad95462
Mark PublicIPs as deprecated & rename to DeprecatedPublicIPs in the latest API
...
We need to keep them in the API so that we can round-trip between versions.
2015-05-22 19:14:27 -04:00
Justin Santa Barbara
973c2e4819
Add Type to ServiceSpec: ClusterIP or LoadBalancer
2015-05-22 19:14:21 -04:00
Justin Santa Barbara
3884d5fc59
Add LoadBalancer status to ServiceStatus
...
This will replace publicIPs
2015-05-22 18:27:05 -04:00
Quinton Hoole
6d8eaa924e
Merge pull request #7852 from a-robinson/tp
...
Prevent stranding of partial load balancers resources
2015-05-22 10:12:30 -07:00
Alex Robinson
4214b76924
Fix misordered assignment in service controller
2015-05-20 11:51:48 -06:00
Alex Robinson
dbf224475d
Require DeleteTCPLoadBalancer to be idempotent and change the service
...
controller to rely on that, so that we won't strand partial resources
from them anymore (target pools in GCE, pools in OpenStack, etc.).
2015-05-19 17:06:54 +00:00
Alex Robinson
3cf80e76c8
Properly handle nil cached services in the service controller's node reconciler.
...
Add a test that catches the former bug.
2015-05-17 22:36:48 -07:00
Quinton Hoole
8bc481d65c
Merge pull request #7669 from a-robinson/lb
...
Change the cloud provider TCPLoadBalancerExists function to GetTCPLoadBalancer...
2015-05-05 11:42:06 -07:00
Quinton Hoole
83b70c4411
Revert "Revert #7145 now that #7609 is in, and fix the tests that were relying on it"
2015-05-02 23:32:21 -07:00
Jeff Lowdermilk
b447dc0c54
Merge pull request #7635 from a-robinson/length
...
Revert #7145 now that #7609 is in, and fix the tests that were relying on it
2015-05-01 17:48:41 -07:00
Alex Robinson
a047250b53
Change the cloud provider TCPLoadBalancerExists function to GetTCPLoadBalancer,
...
which returns the IP/DNS address of the load balancer, enabling more
intelligent reconciliation in the service controller.
2015-05-01 17:42:23 -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
Alex Robinson
890ff7b4aa
Revert #7145 now that #7609 is in, and fix the tests that were relying on it.
2015-05-01 10:49:23 -07:00
Alex Robinson
6ae8e40d3d
Move the logic for reconciling the host targets of external load balancers
...
from the node controller to the service controller before impending changes
to the node controller make it not fit there anymore.
2015-04-24 18:44:04 +00:00
caesarxuchao
e9c5e44767
Use service UID as the ELB name
2015-04-21 12:20:42 -07:00
Alex Robinson
fc08a0a71b
Do service creation/update/deletion work in a pool of goroutines, protecting
...
each service with a lock to ensure that no two goroutines will process a
service at the same time. This is needed to avoid weird race conditions.
2015-04-15 00:30:18 +00:00
Alex Robinson
9a351e3670
Move validation of load balancers only supporting TCP ports to validation.go.
2015-04-14 18:56:51 +00:00
Alex Robinson
ccc300289f
Implement a ServiceController that watches services and handles keeping
...
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.
Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00