Commit 2c35ce6b authored by Matt Liggett's avatar Matt Liggett

fix nslookup invocation

parent 6209b1b6
......@@ -256,6 +256,10 @@ func createService(fcs *federation_internalclientset.Clientset, clusterClientSet
}
func discoverService(f *framework.Framework, name string, exists bool) {
command := []string{"nslookup", name}
framework.Logf("Looking for the service with pod command %q", command)
pod := &api.Pod{
ObjectMeta: api.ObjectMeta{
Name: FederatedServicePod,
......@@ -266,7 +270,7 @@ func discoverService(f *framework.Framework, name string, exists bool) {
{
Name: "federated-service-discovery-container",
Image: "gcr.io/google_containers/busybox:1.24",
Command: []string{"sh", "-c", "nslookup", name},
Command: command,
},
},
RestartPolicy: api.RestartPolicyNever,
......
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