mirror of https://github.com/istio/istio.io.git
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:
parent
a47dc08cf1
commit
a514e979db
|
|
@ -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:
|
||||
|
||||
{{< 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 >}}
|
||||
|
||||
1. Verify you see the following output:
|
||||
|
|
|
|||
Loading…
Reference in New Issue