make "Disable Envoy's access logging a separate section" (#3553)

so it can be referenced from other documents
This commit is contained in:
Vadim Eisenberg 2019-03-07 16:47:36 +02:00 committed by Martin Taillefer
parent e6994fa041
commit c67a696e13
1 changed files with 12 additions and 10 deletions

View File

@ -76,16 +76,18 @@ Note that the messages corresponding to the request appear in logs of the Istio
## Cleanup
1. Shutdown the [sleep]({{<github_tree>}}/samples/sleep) and [httpbin]({{<github_tree>}}/samples/httpbin) services:
Shutdown the [sleep]({{<github_tree>}}/samples/sleep) and [httpbin]({{<github_tree>}}/samples/httpbin) services:
{{< text bash >}}
$ kubectl delete -f @samples/sleep/sleep.yaml@
$ kubectl delete -f @samples/httpbin/httpbin.yaml@
{{< /text >}}
{{< text bash >}}
$ kubectl delete -f @samples/sleep/sleep.yaml@
$ kubectl delete -f @samples/httpbin/httpbin.yaml@
{{< /text >}}
1. Edit the `istio` configuration map and set `global.proxy.accessLogFile` to `""`.
Be sure to escape quotation marks with backward slashes (`\"`).
### Disable Envoy's access logging
{{< text bash >}}
$ kubectl edit cm istio -n istio-system
{{< /text >}}
Edit the `istio` configuration map and set `global.proxy.accessLogFile` to `""`.
Be sure to escape quotation marks with backward slashes (`\"`).
{{< text bash >}}
$ kubectl edit cm istio -n istio-system
{{< /text >}}