Curl error code 6 means that it could not resolve the host.
Can you please give us some more information about your kubernetes environment?
whoami.whoami.svc.cluster.local should resolve if your kubernetes DNS is configured correctly, and you have a whoami service.
time="2020-02-03T18:44:40Z" level=debug msg="No TrafficTargets with destination in namespace: whoami"
time="2020-02-03T18:44:40Z" level=debug msg="Found traffictargets for service whoami/whoami: []"
time="2020-02-03T18:44:40Z" level=debug msg="Found applicable traffictargets for service whoami/whoami: []"
time="2020-02-03T18:44:40Z" level=debug msg="Found grouped traffictargets for service whoami/whoami: map[]"
time="2020-02-03T18:44:40Z" level=debug msg="No TrafficSplits in namespace: whoami"
time="2020-02-03T18:44:40Z" level=debug msg="Found trafficsplits for service whoami/whoami: []"
time="2020-02-03T18:44:40Z" level=debug msg="Deploying to pod maesh-mesh-67d7z with IP 10.244.2.75"
time="2020-02-03T18:44:40Z" level=debug msg="Deploying to pod maesh-mesh-8ccd5 with IP 10.244.1.70"
time="2020-02-03T18:44:40Z" level=debug msg="Successfully deployed configuration to pod (maesh-mesh-67d7z:10.244.2.75)"
time="2020-02-03T18:45:10Z" level=debug msg="Deploying configuration to unready nodes"
time="2020-02-03T18:45:10Z" level=debug msg="Deploying to pod maesh-mesh-8ccd5 with IP 10.244.1.70"
Normal Scheduled <unknown> default-scheduler Successfully assigned maesh/maesh-controller-dd4ccb4d7-6wjmx to kubeslave2
Normal Pulled 3m46s kubelet, kubeslave2 Container image "containous/maesh:v1.1.0-rc1" already present on machine
Normal Created 3m46s kubelet, kubeslave2 Created container maesh-prepare
Normal Started 3m45s kubelet, kubeslave2 Started container maesh-prepare
Normal Pulled 3m45s kubelet, kubeslave2 Container image "containous/maesh:v1.1.0-rc1" already present on machine
Normal Created 3m45s kubelet, kubeslave2 Created container maesh-controller
Normal Started 3m44s kubelet, kubeslave2 Started container maesh-controller
Warning Unhealthy 3m23s (x19 over 3m41s) kubelet, kubeslave2 Readiness probe failed: HTTP probe failed with statuscode: 500
* Could not resolve host: whoami.whoami.svc.cluster.local
* Expire in 200 ms for 1 (transfer 0x56252223e620)
* Closing connection 0
command terminated with exit code 6