docker-compose -f ./docker/docker-compose.yaml up -d
curl localhost:8000 -d 'alice'
docker-compose -f ./docker/docker-compose.connect.yaml up -d
curl localhost:8000 -d 'alice'
docker-compose -f ./docker/docker-compose.envoy.yaml up -d
curl localhost:8000 -d 'alice'
kubectl apply -f kube/echo.plain.yaml
curl http://35.236.184.250 -d 'alice'
helm init
# if RBAC is enabled
kubectl apply -f kube/admin-tiller.yaml
kube patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
helm install -f kube/helm-values.yaml --name consul-playground --namespace default ./kube/consul-helm
kubectl apply -f kube/echo.connect.yaml
curl http://35.236.184.250 -d 'alice'
helm install --name prometheus --namespace default -f kube/prometheus-values.yaml stable/prometheus
show UI
kubectl port-forward `kubectl get po -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}"` 9090:9090
open http://localhost:9090
kubectl port-forward consul-playground-consul-server-0 18500:8500
open http://localhost:18500/ui/dc10/services
# you can replace the app lable
kubectl port-forward `kubectl get po -l app=echo-lb -o jsonpath="{.items[0].metadata.name}"` 19000:19000
open http://localhost:19000