Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions istio-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ Commands to quickly set up the cluster with the application.
```bash
kubectl create ns istio-system
```
1. Initialize istio
```bash

helm template install/kubernetes/helm/istio-init --name istio-init --namespace istio-system | kubectl apply -f -

1. Switch to istio installation dir and install istio into the cluster.
```

2. Switch to istio installation dir and install istio into the cluster.

```bash

Expand All @@ -24,31 +30,31 @@ kubectl get pods -n istio-system

```

2. Label the **default** namespace for auto sidecar injection
3. Label the **default** namespace for auto sidecar injection

```bash

kubectl label namespace default istio-injection=enabled

```

3. Set up the application:
4. Set up the application:

```bash

kubectl apply -f ./resource-manifests/kube

```

4. Set up the Gateway for ingress HTTP requests
5. Set up the Gateway for ingress HTTP requests

```bash

kubectl apply -f resource-manifests/istio/http-gateway.yaml

```

5. Install the virtual services so that requests are routed
6. Install the virtual services so that requests are routed

```bash

Expand All @@ -57,7 +63,7 @@ kubectl apply -f resource-manifests/istio/sa-virtualservice-external.yaml

```

6. Open the application on the IP returned by:
7. Open the application on the IP returned by:

```bash

Expand Down Expand Up @@ -87,4 +93,4 @@ kubectl -n istio-system port-forward \
kubectl port-forward -n istio-system \
$(kubectl get pod -n istio-system -l app=jaeger \
-o jsonpath='{.items[0].metadata.name}') 16686
```
```