Matt Liggett
3659c6ff32
Check for an error before checking for nil.
...
The error object, if it exists, probably has more specific information
to hand to the caller.
2016-06-20 17:13:16 -07:00
k8s-merge-robot
090e6ff660
Merge pull request #27625 from goltermann/spell2
...
Automatic merge from submit-queue
Fix several spelling errors in comments
What the title says
2016-06-18 23:08:28 -07:00
k8s-merge-robot
0ea74dae5c
Merge pull request #27511 from quinton-hoole/2016-06-15-improve-logging-in-federation-service-controller
...
Automatic merge from submit-queue
Improve error logging on DNS updates for federated services
This makes debugging easier. Prior to this, the logs would e.g. contain "Successfully updated 4 out of 4 DNS records", when in fact zero DNS records had been successfully updated. It's difficult to debug what's happening with such confusing log messages.
2016-06-17 11:24:25 -07:00
goltermann
218645b346
Fix several spelling errors in comments.
2016-06-17 10:41:18 -07:00
mfanjie
8630e46336
only reachable endpoint should be treated as healthy
2016-06-16 11:09:34 +08:00
Quinton Hoole
7b5265c493
Improve error detection and logging on DNS updates for federated services.
2016-06-15 17:30:08 -07:00
mfanjie
dd78dd8e2b
1. ensure dns record when ingress ip is assigned after ready address creation
...
2. ensure dns record removal when service being removed
2016-06-14 15:36:37 +08:00
mfanjie
72a0806103
only update dns records when ready address available for endpoints
2016-06-14 15:36:37 +08:00
mfanjie
318f37ce0f
add federation-name and zone-name as controller manager flags
2016-06-14 15:36:37 +08:00
mfanjie
29cc7c009c
add dns provider initialzation
2016-06-14 15:36:37 +08:00
mfanjie
640d7dc7d1
fix clusterSyncLoop to always update services from latest cache
2016-06-08 15:54:22 +08:00
mfanjie
6dde087f69
change clientset of service controller to versioned one
2016-06-06 17:04:26 +08:00
mfanjie
c2dbce68f1
extract public function for build cluster config so that other controller can reuse
2016-06-06 10:36:35 +08:00
nikhiljindal
98c9fbb529
Updating federation-controller-manager to use secret to get federation-apiserver's kubeconfig
2016-06-03 15:16:45 -07:00
Quinton Hoole
65e1fecab5
Integrate federated service DNS record management
2016-06-01 16:24:14 -07:00
nikhiljindal
8e3e5a8b85
load secretRef only if it is present
2016-05-31 18:17:42 -07:00
k8s-merge-robot
1c7aa9c8e2
Merge pull request #26325 from quinton-hoole/2016-05-25-federation-cluster-status-zone-update
...
Automatic merge from submit-queue
Add federation cluster status zone update
Hi Nikhil
Here's the cluster zone update stuff we discussed today.
What's remaining:
1. Rebase against #26308 (as soon as it merges) to expose the zones and region fields of cluster status.
2. Get hold of a cluster client via which to query nodes in the cluster. Currently we only have a DiscoveryClient, which doesn't know how to list nodes.
Any advice on the latter much appreciated. Specifically how do I get a cluster client from a discovery client?
Q
2016-05-29 00:40:09 -07:00
Quinton Hoole
85a0de3300
Use secrets to configure kube clients in federation cluster controller, and cache kube clients.
2016-05-28 11:19:13 -07:00
Quinton Hoole
20c75956fd
Add federation cluster status zone and region update.
2016-05-28 11:15:23 -07:00
mfanjie
6133db345f
add federation service controller
2016-05-29 00:25:07 +08:00
nikhiljindal
dca310aa88
Updating tests
2016-05-24 00:27:39 -07:00
nikhiljindal
9b604242c6
Updating the federation cluster controller to use secretRef to contact the server
2016-05-23 21:50:00 -07:00
huangyuqi
21fe26bd07
remove the rs&subrs logic from cluster controller
2016-05-16 16:48:27 +08:00