Content from Full Cycle course on Istio Service Mash module.
Circuit breaker pattern example with Istio.
k3d cluster create -p "8000:30000@loadbalancer" --agents 2
istioctl install -y
kubectl label namespace default istio-injection=enabled
kubectl apply -f k8s/
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.18/samples/addons/kiali.yaml && \
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.18/samples/addons/grafana.yaml && \
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.18/samples/addons/jaeger.yaml && \
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.18/samples/addons/prometheus.yaml
istioctl dashboard grafana
istioctl dashboard jaeger
istioctl dashboard kiali
istioctl dashboard prometheus
kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.18/samples/httpbin/sample-client/fortio-deploy.yaml
export FORTIO_POD=$(kubectl get pods -l app=fortio -o 'jsonpath={.items[0].metadata.name}')
kubectl exec "$FORTIO_POD" -c fortio -- fortio load -c 2 -qps 0 -n 200 -loglevel Warning <http://servicex-service>