Adding "metadata" to the list of required DNS names to be resolved in DNS e2e.

pull/6/head
Vishnu Kannan 2015-05-20 11:11:02 -07:00
parent 2c54540896
commit 4f664036bf
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ var _ = Describe("DNS", func() {
"kubernetes-ro.default.cluster.local",
"google.com",
}
// Added due to #8512. This is critical for GCE and GKE deployments.
if providerIs("gce", "gke") {
namesToResolve = append(namesToResolve, "metadata")
}
probeCmd := "for i in `seq 1 600`; do "
for _, name := range namesToResolve {