kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/cloud/deploy.yaml
kubectl apply -f k8s/Common/app_namespace.yaml
kubectl apply -f k8s/postgres/
kubectl apply -f k8s/orders-api/
kubectl apply -f k8s/products-api/
kubectl apply -f k8s/users-api/
kubectl apply -f k8s/frontend/
localhost/orders
localhost/products
localhost/users
localhost/
helm dep build helm &&
helm dep build helm/charts/orders-api &&
helm dep build helm/charts/products-api &&
helm dep build helm/charts/users-api &&
helm dep build helm/charts/frontend
helm install local helm
helm uninstall local
Delete pvcs before second redeploy
kubectl delete pvc/data-postgres-0
Make the request handling slow (10 sec latency; users-api): POST http://localhost/users/untested-request
Normal pods:
One unhealthy users-api pod:
One unhealthy users-api pod + retry:
One unhealthy users-api pod + circuit breaker:
kubectl create namespace istio-system
helm repo add istio https://istio-release.storage.googleapis.com/charts
helm install istio-base istio/base -n istio-system
helm install istiod istio/istiod -n istio-system --wait
helm repo update
kubectl label namespace default istio-injection=enabled
kubectl apply -f istio