From 8f5c3a2980b53a5524f30b19de515b0c6de7f970 Mon Sep 17 00:00:00 2001 From: Mayank Gaikwad <8110509+mgdevstack@users.noreply.github.com> Date: Wed, 27 Mar 2019 10:45:25 +0530 Subject: [PATCH] Promote DNS e2e verifying DNS resolution for externalName services --- test/conformance/testdata/conformance.txt | 1 + test/e2e/network/dns.go | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.txt b/test/conformance/testdata/conformance.txt index 8ce92e5ef19..84395941329 100644 --- a/test/conformance/testdata/conformance.txt +++ b/test/conformance/testdata/conformance.txt @@ -182,6 +182,7 @@ test/e2e/kubectl/kubectl.go: "should support --unix-socket=/path" test/e2e/network/dns.go: "should provide DNS for the cluster" test/e2e/network/dns.go: "should provide /etc/hosts entries for the cluster" test/e2e/network/dns.go: "should provide DNS for services" +test/e2e/network/dns.go: "should provide DNS for ExternalName services" test/e2e/network/proxy.go: "should proxy logs on node with explicit kubelet port using proxy subresource" test/e2e/network/proxy.go: "should proxy logs on node using proxy subresource" test/e2e/network/proxy.go: "should proxy through a service and a pod" diff --git a/test/e2e/network/dns.go b/test/e2e/network/dns.go index bb874813e29..6f3f5ae1b0a 100644 --- a/test/e2e/network/dns.go +++ b/test/e2e/network/dns.go @@ -255,7 +255,13 @@ var _ = SIGDescribe("DNS", func() { validateDNSResults(f, pod1, append(wheezyFileNames, jessieFileNames...)) }) - It("should provide DNS for ExternalName services", func() { + /* + Release: v1.15 + Testname: DNS, for ExternalName Services + Description: Create a service with externalName. Pod MUST be able to resolve the address for this service via CNAME. When externalName of this service is changed, Pod MUST resolve to new DNS entry for the service. + Change the service type from externalName to ClusterIP, Pod MUST resolve DNS to the service by serving A records. + */ + framework.ConformanceIt("should provide DNS for ExternalName services", func() { // Create a test ExternalName service. By("Creating a test externalName service") serviceName := "dns-test-service-3"