Install a Sample Application#

Warning

Only perform these steps if you wish to demo Aspen Mesh. The Kubernetes cluster should not be a production Kubernetes cluster.

When first accessing the dashboard it is possible that there are no services in the istio service mesh. As a result, while the dashboard will display a hexagon icon with your deployed clusterId clicking on it will result in a red error appearing at the top stating “There was an Error Fetching your Service graph.”

To install a demo application that is microservice based inside of your service mesh:

  1. Enable the istio-injection=enabled label for the default namespace.

    kubectl label --overwrite namespace default istio-injection=enabled
    
  2. Apply the aspen mesh pull secret.

    kubectl apply -f samples/aspenmesh/pullsecret.yaml
    
  3. Install the bookinfo application using a manifest.

    kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
    
  4. Install the traffic-generator service that simulate traffic to the productpage service.

    kubectl apply -f samples/aspenmesh/bookinfo-traffic-generator.yaml
    
  5. Given a few minutes, perform a refresh in your browser of the client dashboard. You should be able to browse the Aspen Mesh dashboard and obtain a service graph with the bookinfo application deployed inside of your istio service mesh.