access log updates for command output, variable names (#6685)

This commit is contained in:
Eric Van Norman 2020-03-03 18:27:37 -06:00 committed by GitHub
parent 9518e887c1
commit 10914ff01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 6 deletions

View File

@ -27,7 +27,19 @@ In the example below, replace `demo` with the name of the profile you used when
{{< text bash >}}
$ istioctl manifest apply --set profile=demo --set values.global.proxy.accessLogFile="/dev/stdout"
configmap "istio" replaced
- Applying manifest for component Base...
✔ Finished applying manifest for component Base.
- Applying manifest for component Pilot...
✔ Finished applying manifest for component Pilot.
- Applying manifest for component EgressGateways...
- Applying manifest for component IngressGateways...
- Applying manifest for component AddonComponents...
✔ Finished applying manifest for component EgressGateways.
✔ Finished applying manifest for component IngressGateways.
✔ Finished applying manifest for component AddonComponents.
✔ Installation complete
{{< /text >}}
You can also choose between JSON and text by setting `accessLogEncoding` to `JSON` or `TEXT`.
@ -39,9 +51,9 @@ You may also want to customize the
All three of these parameters may also be configured via [install options](/docs/reference/config/installation-options/):
{{< /tip >}}
* `global.proxy.accessLogFile`
* `global.proxy.accessLogEncoding`
* `global.proxy.accessLogFormat`
* `values.global.proxy.accessLogFile`
* `values.global.proxy.accessLogEncoding`
* `values.global.proxy.accessLogFormat`
## Test the access log
@ -100,7 +112,23 @@ $ kubectl delete -f @samples/httpbin/httpbin.yaml@
Edit the `istio` configuration map and set `accessLogFile` to `""`.
{{< tip >}}
In the example below, replace `demo` with the name of the profile you used when you installed Istio.
{{< /tip >}}
{{< text bash >}}
$ istioctl manifest apply
configmap "istio" replaced
$ istioctl manifest apply --set profile=demo
- Applying manifest for component Base...
✔ Finished applying manifest for component Base.
- Applying manifest for component Pilot...
✔ Finished applying manifest for component Pilot.
- Applying manifest for component EgressGateways...
- Applying manifest for component IngressGateways...
- Applying manifest for component AddonComponents...
✔ Finished applying manifest for component EgressGateways.
✔ Finished applying manifest for component IngressGateways.
✔ Finished applying manifest for component AddonComponents.
✔ Installation complete
{{< /text >}}