mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +00:00
Promote e2e verifying DNS resolution for o pod's fqdn, hostname and subdomain
This commit is contained in:
parent
23fb942ed7
commit
fc2af0e5a4
2
test/conformance/testdata/conformance.txt
vendored
2
test/conformance/testdata/conformance.txt
vendored
@ -191,6 +191,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"
|
||||
|
@ -220,7 +220,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{
|
||||
@ -255,7 +261,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