Promote DNS e2e verifying DNS resolution for externalName services

This commit is contained in:
Mayank Gaikwad 2019-03-27 10:45:25 +05:30
parent ccc90b2ba6
commit 8f5c3a2980
2 changed files with 8 additions and 1 deletions

View File

@ -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"

View File

@ -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"