Skip to content

Instantly share code, notes, and snippets.

@nabiltntn
Last active February 1, 2020 15:48
Show Gist options
  • Select an option

  • Save nabiltntn/2efdde4ee6bf6df644cad92ed02f7655 to your computer and use it in GitHub Desktop.

Select an option

Save nabiltntn/2efdde4ee6bf6df644cad92ed02f7655 to your computer and use it in GitHub Desktop.
curl -L https://istio.io/downloadIstio | sh -
cd istio-1.4.3
export PATH=$PWD/bin:$PATH
istioctl manifest apply --set profile=demo
kubectl label namespace default istio-injection=enabled
kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
kubectl apply -f samples/bookinfo/networking/destination-rule-all.yaml
kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml
export INGRESS_PORT=$(kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.spec.ports[?(@.name=="http2")].nodePort}')
echo $INGRESS_PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment