3 min • read

Edge Stack quick start

1. Installation

We'll start by installing Edge Stack into your cluster.

We recommend using Helm but there are other options below to choose from.

2. Routing traffic from the edge

Edge Stack uses Kubernetes Custom Resource Definitions (CRDs) to declaratively define its desired state. The workflow you are going to build uses a simple demo app, a Listener CRD, and a Mapping CRD. The Listener CRD tells Edge Stack what port to listen on, and the Mapping CRD tells Edge Stack how to route incoming requests by host and URL path from the edge of your cluster to Kubernetes services.

  1. Start by creating a Listener resource for HTTP on port 8080:
  1. Apply the YAML for the “Quote of the Moment" service.

  2. Apply the YAML for a Mapping to tell Edge Stack to route all traffic inbound to the /backend/ path to the quote Service:

  3. Store the Edge Stack load balancer IP address to a local environment variable. You will use this variable to test access to your service.

  4. Test the configuration by accessing the service through the Edge Stack load balancer: