mirror of https://github.com/istio/istio.io.git
Next round of changes to get tutorial working (#7959)
This commit is contained in:
parent
976850a101
commit
6024905e61
|
@ -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 >}}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: ["*"]
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue