Initialize cluster:
$ ./setup_cluster.sh
Reset cluster:
$ ./setup_cluster.sh reset
$ ./deploy_metrics-server.sh
$ ./deploy_kube-prometheus.sh
Notes:
- If you already have
metrics-serverdeployed, you may see some metrics api conflict error, just ignore.
$ ./install_helm.sh
$ ./deploy_metallb.sh
Install and deploy istio using helm, so install helm first.
$ ./install_istio.sh install
Notes:
- istio deployment requires a lot cpu resource, on my 2 node, 2vcpu per node cluster, I have to delete previously deployed
kube-prometheusto free cpu resource in order to deployIstio. - In order to play virtualservice, istio-ingressgateway neeeds to be working, so need to deploy metallb first.
Deploy the bookinfo example:
$ ./install_istio.sh bookinfo