Fix istio installation doc (#4513)

This commit is contained in:
Kenjiro Nakayama 2021-11-24 01:33:51 +09:00 committed by GitHub
parent 49652deb2c
commit ad6446431e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 29 deletions

View File

@ -51,35 +51,8 @@ Enter the following command to install Istio:
To install Istio without sidecar injection:
1. Create a `istio-minimal-operator.yaml` file using the following template:
```yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
values:
global:
proxy:
autoInject: disabled
useMCP: false
# The third-party-jwt is not enabled on all k8s.
# See: https://istio.io/docs/ops/best-practices/security/#configure-third-party-service-account-tokens
jwtPolicy: first-party-jwt
addonComponents:
pilot:
enabled: true
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
```
1. Apply the YAML file by running the command:
```bash
istioctl install -f istio-minimal-operator.yaml
```sh
istioctl install -y
```
#### Installing Istio with sidecar injection