Commit 8f5c3a29 authored by Mayank Gaikwad's avatar Mayank Gaikwad

Promote DNS e2e verifying DNS resolution for externalName services

parent ccc90b2b
...@@ -182,6 +182,7 @@ test/e2e/kubectl/kubectl.go: "should support --unix-socket=/path" ...@@ -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 DNS for the cluster"
test/e2e/network/dns.go: "should provide /etc/hosts entries 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 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 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 logs on node using proxy subresource"
test/e2e/network/proxy.go: "should proxy through a service and a pod" test/e2e/network/proxy.go: "should proxy through a service and a pod"
......
...@@ -255,7 +255,13 @@ var _ = SIGDescribe("DNS", func() { ...@@ -255,7 +255,13 @@ var _ = SIGDescribe("DNS", func() {
validateDNSResults(f, pod1, append(wheezyFileNames, jessieFileNames...)) 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. // Create a test ExternalName service.
By("Creating a test externalName service") By("Creating a test externalName service")
serviceName := "dns-test-service-3" serviceName := "dns-test-service-3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment