Fixing curl command to set debug mode for proxy (#2836)

Trivial MR: curl command for setting debug mode for proxy should be a POST not a GET
This commit is contained in:
themanifold 2018-11-07 15:02:49 +00:00 committed by Martin Taillefer
parent a47dc08cf1
commit a514e979db
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ otherwise you should replace `"-l app=productpage"` with your actual pod.
1. Turn on the authorization debug logging in proxy with the following command: 1. Turn on the authorization debug logging in proxy with the following command:
{{< text bash >}} {{< text bash >}}
$ kubectl exec $(kubectl get pods -l app=productpage -o jsonpath='{.items[0].metadata.name}') -c istio-proxy -- curl localhost:15000/logging?rbac=debug -s $ kubectl exec $(kubectl get pods -l app=productpage -o jsonpath='{.items[0].metadata.name}') -c istio-proxy -- curl -X POST localhost:15000/logging?rbac=debug -s
{{< /text >}} {{< /text >}}
1. Verify you see the following output: 1. Verify you see the following output: