Skip to content

Scripts for demonstrating the use of a service mesh in kubernetes. This includes Linkerd and Istio

Notifications You must be signed in to change notification settings

thunter1000/k8-service-mesh-demo

Repository files navigation

Kubernetes Service Mesh Demos.

  • Traffic sniffing on a cluster.
  • Linkerd Service Mesh.
  • Istio Service Mesh.

Required Applications.

⚠️ This project will use the default Kubernetes cluster, make sure you are connected to the correct cluster.

You can do this by doing the following BEFORE running any scripts :

  • Checking the context kubectl config current-context
  • Confirming the Namespaces kubectl get namespaces

You can switch contexts by:

  • kubectl config get-contexts
  • kubectl config use-context context-name

Running Locally.

  • Enable Kubernetes in Docker.
    • Settings.
    • Kubernetes.
    • Enable Kubernetes and follow the installation steps (this will alter your ~/.kube/config).
    • Make sure you are connected to the correct cluster.

Scripts.

  • setup/10-deploy-dashboard.sh - Deploys the kubernetes dashboard into the cluster.
    • setup/open-dashboard.sh Opens the Kubernetes dashboard.
  • 00-plain.sh - Deploys Linkerd's example without a service mesh.
    • _00-plain/open-emojivoto.sh - Port forward the port for emojivoto and open a web browser.
    • _00-plain/remove.sh - Remove the deployment from the cluster.
  • 10-linkerd.sh - Deploys Linkerd's example with the Linkerd service mesh.
    • _10-linkerd/open-emojivoto.sh - Port forward the port for emojivoto and open a web browser.
    • _10-linkerd/remove.sh - Remove the deployment from the cluster.
  • 20-istio.sh - Deploys Linekrd's example and Istio's example with Istio's service mesh.
    • _20-istio/open-emojivoto.sh - Port forward the port for emojivoto and open a web browser.
    • _20-istio/open-bookinfo.sh - Open Istio's bookinfo demo. Documentation here.
    • _20-istio/open-kiali.sh - Open Kiali dashboard (Username: admin Password: admin). Website here.
    • _20-istio/open-jaeger-query.sh - Open Jaeger (open tracing) Website Here.
    • _20-istio/remove.sh - Remove the deployment from the cluster.
  • 30-traffic-sniffing.sh - Deploys a pod which logs the traffic within the cluster.
    • _30-traffic-sniffing/show-logs.sh - Output's a live view of the logs collected by the pod.
    • _30-traffic-sniffing/remove.sh - Remove deployment from the cluster.

About

Scripts for demonstrating the use of a service mesh in kubernetes. This includes Linkerd and Istio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published