Jul 14, 2024
istioctl
)
curl -L https://git.io/getLatestIstio | sh -
mv istio-<version>/bin/istioctl /usr/local/bin/istioctl
helm install install/kubernetes/helm/istio-init --name istio-init --namespace istio-system
helm install install/kubernetes/helm/istio --name istio --namespace istio-system --set grafana.enabled=true
kubectl get pods -n istio-system
kubectl label namespace default istio-injection=enabled
kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
kubectl apply -f samples/bookinfo/networking/destination-rule-all.yaml
kubectl get services,pods -n default
kubectl -n istio-system port-forward $(kubectl -n istio-system get pod -l app=grafana -o jsonpath='{.items[0].metadata.name}') 3000:3000
http://localhost:3000
curl
command to generate traffic to BookInfo application:
watch -n 2 curl -s -o /dev/null http://<EXTERNAL_IP>/productpage