Hi Everyone,
I am trying to follow a tutorial from Istio docs here to enable mtls globally
After enabling global mtls as mentioned in the doc, I fired up the command
for from in "foo" "bar"; do for to in "foo" "bar"; do kubectl exec $(kubectl get pod -l app=sleep -n ${from} -o jsonpath={.items..metadata.name}) -c sleep -n ${from} -- curl "http://httpbin.${to}:8000/ip" -s -o /dev/null -w "sleep.${from} to httpbin.${to}: %{http_code}\n"; done; done
As per the docs, I should get 503, but I am getting 000 instead.
sleep.foo to httpbin.foo: 000 command terminated with exit code 56
What could I be missing?