Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruslanguns/istio-learn
https://github.com/ruslanguns/istio-learn
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ruslanguns/istio-learn
- Owner: ruslanguns
- Created: 2024-04-07T19:19:51.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-07T19:20:01.000Z (7 months ago)
- Last Synced: 2024-05-28T17:07:10.924Z (6 months ago)
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Istio testing
## 1. Create cluster
```bash
kind create cluster -n istio --config 0-kind-cluster.yaml
```## 2. Install ingress controller
```bash
# source: https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yamlkubectl apply -f 1-ingress-nginx.yaml
```Wait until is ready to process requests running:
```bash
kubectl wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
--timeout=90s
```Test ingress controller:
```bash
kubectl apply -f 2-ingress-test.yaml# then open browser and go to http://localhost/foo/hostname or http://localhost/bar/hostname
```## 3. Install istio
```bash
istioctl install --set profile=demo -y
```Enable namespace auto-injection:
```bash
kubectl label namespace default istio-injection=enabled
```> Expose istio-ingressgateway with ingress. This would simulate the real world scenario where the ingress controller is used to expose the services and the istio-ingressgateway is used to route the traffic to the services.
```bash
kubectl apply -f 5-istio-ingress.yaml
```## 4. Install addons
```bash
kubectl apply -f 6-addons
```show kiali dashboard:
```bash
istioctl dashboard kiali
```> same for grafana, jaeger, prometheus, etc.