Rabattkarte / linkerd-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service Mesh demo with Linkerd Emojivoto demo app

Requirements

Configration options

Export one of the following environment variables to configure the scripts. Make sure to always use the same set of variables.

Variable name Default value Description
MK_PROFILE_NAME linkerd The name of the minikube profile/cluster

emojivoto topology

emojivoto-topology

โžก๏ธ image taken from: BuoyantIO/emojivoto


๐Ÿฃ Setup the minikube cluster with Linkerd

  1. Start Docker.
  2. Ensure that minikube is configured to use the Docker driver.
  3. Execute 00_setup_cluster_and_linkerd.sh to spin up a minikube cluster/profile with Linkerd and the Emojivoto demo app installed.

๐Ÿ“ฎ Deploy the bare emojivoto app

FYI: This script can be re-run infinitely.

  1. Execute 01_install_emojivoto.sh.
  2. After that expose the app.

๐Ÿ”— Mesh the emojivoto app

FYI: This script can be re-run infinitely.

  1. Execute 02_mesh_emojivoto.sh.
  2. After that expose the app.

๐ŸŒ Expose the emojivoto app and forward the viz dashboard

  1. Start a new terminal.
  2. Execute 10_run_dashboard_and_app.sh.
  3. Access the Linkerd dashboard and the demo app via the printed URLs.
  4. Kill the terminal to stop the forwards.

โ™ป๏ธ Clean-up

  1. Ensure the right variables are exported.
  2. Execute 90_delete_minikube_cluster.sh.
  3. Your cluster should be gone.

๐Ÿ“‹ References

About


Languages

Language:Shell 100.0%