kubernetes/hack
k8s-merge-robot c7e3b2f676 Merge pull request #27252 from mfanjie/fix-ensuredns
Automatic merge from submit-queue

federation: fix dns provider initialization issues

This PR is based on the integration test with Google DNS API. This is the first time of full integration test.
So multiple issues was found and I combined all of them in this single PR

1. add dns provider initialization and add ensureDns call when removing federation service.
2. add new flags federation-name and zone-name to controller manager, both are used as part of the dns record name
3. fix assertion failure at rrsets.go#L61, which will cause panic
4. change getFederationDNSZoneName to get zoneName from config instead of hard code
5. change logic of ensureDnsRrsets, only add new dns record when endpointReachable(set to true when ready address is catched) is true
6. fix bug in processEndpointUpdate, only call ensuredns when ready address is caught
7. change behavior of syncService, there is cases that endpoint is created before ingress IP assignment, so before there is defect for this case, ensureDns was not called when service being updated, so if Ingress IP is assigned after endpoint ready address is caught, the corresponding A records can not be created
8. add a checking before update federation service

@nikhiljindal , can you help to add 1.3 milestone when @quinton-hoole is on leave?
Thanks.

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-14 03:20:13 -07:00
..
boilerplate Standard input for kubectl tests 2016-05-10 14:16:50 -04:00
cmd/teststale Add more tests. 2016-05-14 23:19:18 -07:00
e2e-internal Fixing references to federated-context and federation-e2e 2016-06-13 16:43:55 -07:00
gen-swagger-doc Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
jenkins Revert "Revert "e2e-runner.sh: don't overwrite readonly var"" 2016-06-10 18:17:51 -07:00
lib Revamp doc generation 2016-06-08 17:22:12 -07:00
testdata Merge pull request #24719 from bprashanth/kubectl_tls 2016-05-22 09:40:42 -07:00
verify-flags add federation-name and zone-name as controller manager flags 2016-06-14 15:36:37 +08:00
autogenerated_placeholder.txt Revamp doc generation 2016-06-08 17:22:12 -07:00
benchmark-go.sh
benchmark-integration.sh Speed up test, by not running with custom etcd prefix 2016-05-27 14:30:24 +02:00
build-cross.sh Add support for building arm, arm64 and ppc64le server and client targets 2016-02-07 20:35:14 +02:00
build-go.sh
build-ui.sh Set execute permission for hack/build-ui.sh as other script files. 2015-11-17 15:37:58 -05:00
cherry_pick_pull.sh Fix mktemp invocation for OS X 2015-11-30 12:14:57 -08:00
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-hyperkube.sh Fix the problem in building hyperkube for 3rd party registry 2016-06-01 04:38:48 -04:00
e2e-node-test.sh Node e2e Makefile support for running remote tests against kubernetes-node-e2e-images. 2016-06-08 07:31:54 -07:00
e2e.go Federation build and e2e test integration 2016-05-25 15:07:27 -07:00
federated-ginkgo-e2e.sh document federation e2e cli flow 2016-06-09 15:11:52 -07:00
generate-docs.sh Revamp doc generation 2016-06-08 17:22:12 -07:00
get-build.sh cleanup some nits in hack/get-build.sh 2015-11-17 11:20:17 -08:00
ginkgo-e2e.sh Multiple MIGs in e2e cluster autoscaling tests. 2016-06-01 11:20:41 +02:00
godep-save.sh Create a script to update godeps 2016-05-12 22:04:19 -04:00
grab-profiles.sh Add Scheduler and ControllerManager profile grabbing 2015-12-10 16:27:13 +01:00
install-etcd.sh Make hack/install-etcd.sh use hack/lib/etcd.sh 2016-02-26 11:54:43 -08:00
list-feature-tests.sh Fix regex in list-feature-tests.sh. 2016-03-07 16:49:39 -08:00
local-up-cluster.sh Address review comments 2016-05-31 10:14:33 -07:00
lookup_pull.py
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
test-cmd.sh Merge pull request #26686 from metral/fix-get-output 2016-06-11 14:26:31 -07:00
test-go.sh Revert "ScheduledJob tests" 2016-06-10 16:22:04 +02:00
test-integration.sh Revert "ScheduledJob tests" 2016-06-10 16:22:04 +02:00
test-update-storage-objects.sh Test non-default etcdPrefixes. 2016-05-31 10:49:30 +02:00
update-all.sh Remove superfluous dollar causing hack/update-all.sh to fail when not running in silent mode 2016-05-07 10:15:32 +02:00
update-api-reference-docs.sh This fixes #26526 the white space problem 2016-05-30 15:32:43 +02:00
update-codecgen.sh Speedup update_codecgen by precomputing dependencies. 2016-05-27 22:01:06 +02:00
update-codegen.sh add release_1_3 clientset in update-codegen 2016-05-25 21:14:16 -07:00
update-generated-docs.sh Revamp doc generation 2016-06-08 17:22:12 -07:00
update-generated-protobuf-dockerized.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
update-generated-protobuf.sh Fix script for updating protobufs. 2016-05-09 15:57:26 +02:00
update-generated-swagger-docs.sh Finish implementing policy API. 2016-05-13 17:27:58 -07:00
update-godep-licenses.sh Fix call-sites after dep updates 2016-06-02 16:57:28 -07:00
update-gofmt.sh Demand at least go1.6 2016-05-08 20:30:37 -07:00
update-munge-docs.sh Revamp doc generation 2016-06-08 17:22:12 -07:00
update-swagger-spec.sh add rbac for tests and kubectl 2016-05-25 14:25:56 -07:00
verify-all.sh Strip the proto build guard 2016-04-20 12:12:29 -04:00
verify-api-reference-docs.sh Remove a diff option not in BSD diff 2016-02-19 08:47:57 -08:00
verify-boilerplate.sh
verify-codecgen.sh Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
verify-codegen.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-description.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-flags-underscore.py ignore _output directory in verify flags script 2016-06-06 17:47:38 -07:00
verify-generated-docs.sh Revamp doc generation 2016-06-08 17:22:12 -07:00
verify-generated-protobuf.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-generated-swagger-docs.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-godep-licenses.sh Verify changes against upstream vendor/ as well. 2016-05-27 16:27:42 -07:00
verify-godeps.sh Merge pull request #26458 from david-mcmahon/godep-version 2016-06-03 11:04:38 -07:00
verify-gofmt.sh Fix incorrect gofmt hint 2016-05-26 10:27:45 -07:00
verify-govet.sh Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
verify-import-boss.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-linkcheck.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-munge-docs.sh Revamp doc generation 2016-06-08 17:22:12 -07:00
verify-swagger-spec.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-symbols.sh Get rid of hack/after-build scripts 2016-05-08 20:32:06 -07:00
verify-test-images.sh Add check to prevent use of untagged or :latest gcr.io images in e2e tests 2016-05-26 10:27:31 -07:00