ISTIO: BookInfo Demo APP - mnhmilu/poc-kubernets GitHub Wiki
minikube start --memory 8192 --cpus 4
If you are using minikube, you can easily start an external load balancer (recommended) by running the following command in a different terminal:
minikube tunnel
export INGRESS_HOST=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].port}')
export SECURE_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="https")].port}')
export TCP_INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="tcp")].port}')
kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage | grep -o "<title>.*</title>"
cd to istio directory
export PATH=$PWD/bin:$PATH
istioctl dashboard kiali
kubectl get svc istio-ingressgateway -n istio-system
http://10.98.6.188/productpage#
Generate Graph Metrics
while true; do curl -s -o /dev/null "http://$GATEWAY_URL/productpage"; done
for i in $(seq 1 1000); do curl -s -o /dev/null "http://$GATEWAY_URL/productpage"; done
samples/bookinfo/platform/kube/cleanup.sh
for imagepullbackoff error
kubectl describe pod reviews-v1-56f6655686-j7lb6
kubectl get events
minikube ssh docker pull istio/examples-bookinfo-reviews-v1:1.17.0
minikube docker-env
minikube config get cpus
minikube config get memory