After you have deployed Contour and Envoy on clusters, you can use those services to view data about your deployments.

Prerequisites

You have deployed Contour and Envoy onto a Tanzu Kubernetes cluster by performing the steps in either Deploy Contour on Tanzu Kubernetes Clusters Running on vSphere or Deploy Contour on Tanzu Kubernetes Clusters Running on Amazon EC2.

Access the Envoy Administration Interface Remotely

  1. Get an Envoy pod that matches the Envoy daemonset.

    ENVOY_POD=$(kubectl -n tanzu-system-ingress get pod -l app=envoy -o name | head -1)
    
  2. Forward port 9001 on the Envoy pod.

    kubectl -n tanzu-system-ingress port-forward $ENVOY_POD 9001
    
  3. In a browser, navigate to http://127.0.0.1:9001/.

    You should see the Envoy administration interface.

    Envoy administration interface

  4. Click the links in the Envoy administration interface to see information about the operations in your cluster.

Visualize the Internal Contour Directed Acyclic Graph (DAG)

  1. Get a Contour pod that matches the Contour daemonset.

    CONTOUR_POD=$(kubectl -n tanzu-system-ingress get pod -l app=contour -o name | head -1) 
    
  2. Forward port 6060 on the Contour pod.

    kubectl -n tanzu-system-ingress port-forward $CONTOUR_POD 6060
    
  3. Open a new terminal window and download and store the DAG as a *.png file.

    curl localhost:6060/debug/dag | dot -T png > contour-dag.png
    
  4. Open contour-dag.png to view the graph.

    Contour DAG file

check-circle-line exclamation-circle-line close-line
Scroll to top icon