Next round of changes to get tutorial working (#7959)

This commit is contained in:
Eric Van Norman 2020-08-14 17:26:41 -05:00 committed by GitHub
parent 976850a101
commit 6024905e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 12 deletions

View File

@ -21,12 +21,13 @@ disrupt your application, it continues to run and serve user requests.
{{< text bash >}}
$ kubectl apply -f - <<EOF
apiVersion: "authentication.istio.io/v1alpha1"
kind: Policy
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: default
name: ${NAMESPACE}-no-mtls
spec:
peers: []
mtls:
mode: PERMISSIVE
EOF
$ kubectl apply -f {{< github_file >}}/samples/bookinfo/networking/destination-rule-all.yaml
{{< /text >}}

View File

@ -52,7 +52,7 @@ microservice.
reviews-v1-77c65dc5c6-kjvxs 1/1 Running 0 9s
{{< /text >}}
1. After the four services achieve the `Running` status, you can scale the deployment. To let each version of each microservice run in three pods, execute the following command:
1. After the four pods achieve the `Running` status, you can scale the deployment. To let each version of each microservice run in three pods, execute the following command:
{{< text bash >}}
$ kubectl scale deployments --all --replicas 3
@ -142,7 +142,8 @@ service/productpage patched
backend:
serviceName: productpage
servicePort: 9080
- path: /static/*
- path: /static
pathType: Prefix
backend:
serviceName: productpage
servicePort: 9080

View File

@ -53,7 +53,7 @@ proceed to [setting up your local computer](/docs/examples/microservices-istio/s
{{< tip >}}
If there are errors trying to install the addons, try running the command again. There may
be some timing issues which will be reolved when the command is run again.
be some timing issues which will be resolved when the command is run again.
{{< /tip >}}
1. Next, enable Envoy's access logging as described in
@ -85,28 +85,32 @@ proceed to [setting up your local computer](/docs/examples/microservices-istio/s
- host: my-istio-dashboard.io
http:
paths:
- path: /*
- path: /
pathType: Prefix
backend:
serviceName: grafana
servicePort: 3000
- host: my-istio-tracing.io
http:
paths:
- path: /*
- path: /
pathType: Prefix
backend:
serviceName: tracing
servicePort: 9411
- host: my-istio-logs-database.io
http:
paths:
- path: /*
- path: /
pathType: Prefix
backend:
serviceName: prometheus
servicePort: 9090
- host: my-kiali.io
http:
paths:
- path: /*
- path: /
pathType: Prefix
backend:
serviceName: kiali
servicePort: 20001
@ -162,7 +166,7 @@ proceed to [setting up your local computer](/docs/examples/microservices-istio/s
namespace: $NAMESPACE
rules:
- apiGroups: ["", "extensions", "apps", "networking.k8s.io", "networking.istio.io", "authentication.istio.io",
"rbac.istio.io", "config.istio.io"]
"rbac.istio.io", "config.istio.io", "security.istio.io"]
resources: ["*"]
verbs: ["*"]
---