Commit bb26376d authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45203 from dims/suffix-cluster-local-for-service-host

Automatic merge from submit-queue (batch tested with PRs 45200, 45203) Add .svc.cluster.local for service host **What this PR does / why we need it**: Running into DNS resolve problems, testing to see if this works better **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents f263fbe5 fe69ca63
...@@ -1087,7 +1087,7 @@ var _ = framework.KubeDescribe("Services", func() { ...@@ -1087,7 +1087,7 @@ var _ = framework.KubeDescribe("Services", func() {
By("Verifying pods for RC " + t.Name) By("Verifying pods for RC " + t.Name)
framework.ExpectNoError(framework.VerifyPods(t.Client, t.Namespace, t.Name, false, 1)) framework.ExpectNoError(framework.VerifyPods(t.Client, t.Namespace, t.Name, false, 1))
svcName := fmt.Sprintf("%v.%v", serviceName, f.Namespace.Name) svcName := fmt.Sprintf("%v.%v.svc.cluster.local", serviceName, f.Namespace.Name)
By("Waiting for endpoints of Service with DNS name " + svcName) By("Waiting for endpoints of Service with DNS name " + svcName)
execPodName := framework.CreateExecPodOrFail(f.ClientSet, f.Namespace.Name, "execpod-", nil) execPodName := framework.CreateExecPodOrFail(f.ClientSet, f.Namespace.Name, "execpod-", nil)
...@@ -1105,7 +1105,7 @@ var _ = framework.KubeDescribe("Services", func() { ...@@ -1105,7 +1105,7 @@ var _ = framework.KubeDescribe("Services", func() {
framework.Failf("expected un-ready endpoint for Service %v within %v, stdout: %v", t.Name, framework.KubeProxyLagTimeout, stdout) framework.Failf("expected un-ready endpoint for Service %v within %v, stdout: %v", t.Name, framework.KubeProxyLagTimeout, stdout)
} }
By("Scaling down replication controler to zero") By("Scaling down replication controller to zero")
framework.ScaleRC(f.ClientSet, f.InternalClientset, t.Namespace, rcSpec.Name, 0, false) framework.ScaleRC(f.ClientSet, f.InternalClientset, t.Namespace, rcSpec.Name, 0, false)
By("Update service to not tolerate unready services") By("Update service to not tolerate unready services")
......
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