mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #74982 from mgdevstack/promote-dns-hostname
Promote DNS e2e verifying DNS resolution for hostname and subdomain
This commit is contained in:
commit
16bc6c1d02
2
test/conformance/testdata/conformance.txt
vendored
2
test/conformance/testdata/conformance.txt
vendored
@ -195,6 +195,8 @@ 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 pods for Hostname"
|
||||
test/e2e/network/dns.go: "should provide DNS for pods for Subdomain"
|
||||
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"
|
||||
|
@ -221,7 +221,13 @@ var _ = SIGDescribe("DNS", func() {
|
||||
validateDNSResults(f, pod, append(wheezyFileNames, jessieFileNames...))
|
||||
})
|
||||
|
||||
ginkgo.It("should provide DNS for pods for Hostname [LinuxOnly]", func() {
|
||||
/*
|
||||
Release: v1.15
|
||||
Testname: DNS, resolve the hostname
|
||||
Description: Create a headless service with label. Create a Pod with label to match service's label, with hostname and a subdomain same as service name.
|
||||
Pod MUST be able to resolve its fully qualified domain name as well as hostname by serving an A record at that name.
|
||||
*/
|
||||
framework.ConformanceIt("should provide DNS for pods for Hostname [LinuxOnly]", func() {
|
||||
// Create a test headless service.
|
||||
ginkgo.By("Creating a test headless service")
|
||||
testServiceSelector := map[string]string{
|
||||
@ -256,7 +262,13 @@ var _ = SIGDescribe("DNS", func() {
|
||||
validateDNSResults(f, pod1, append(wheezyFileNames, jessieFileNames...))
|
||||
})
|
||||
|
||||
ginkgo.It("should provide DNS for pods for Subdomain", func() {
|
||||
/*
|
||||
Release: v1.15
|
||||
Testname: DNS, resolve the subdomain
|
||||
Description: Create a headless service with label. Create a Pod with label to match service's label, with hostname and a subdomain same as service name.
|
||||
Pod MUST be able to resolve its fully qualified domain name as well as subdomain by serving an A record at that name.
|
||||
*/
|
||||
framework.ConformanceIt("should provide DNS for pods for Subdomain", func() {
|
||||
// Create a test headless service.
|
||||
ginkgo.By("Creating a test headless service")
|
||||
testServiceSelector := map[string]string{
|
||||
|
Loading…
Reference in New Issue
Block a user