TGIK

TGI Kubernetes is a weekly live video stream all about Kubernetes.

TGI Kubernetes 056: Heptio Contour and IngressRoute

Watch on YouTube
3:17 PM PDT on Friday, Nov 02, 2018

TGI Kubernetes 056: Heptio Contour and IngressRoute

TGI Kubernetes 056: Heptio Contour and IngressRoute

Nov 2 2018

In this episode

Come hang out with Joe Beda as he does a bit of hands on exploration of Kubernetes and related topics. Some of this will be Joe talking about the things he knows well. Some of this will be Joe exploring something new with the audience. Ask questions, comment and help decide where things go.

Heptio Contour is an "ingress controller" that uses Kubernetes objects to configure Envoy. With Contour v0.6 and v0.7, it has introduced a new CRD called the "IngressRoute". We are going to dig into what this is, how it works and why Contour went this direction.

Show notes: https://github.com/heptio/tgik/tree/master/episodes/056

Partial index:

  • 00:22 Load Balancers and Ingress
  • Network traffic comes the user, goes to a software load balancer, say ELB.
  • ELB routes into a software load balancer in your cluster, say nginx.
    • 00:34 Question from the audience: Is there a performance hit? In AWS the NLB is transparent to the network.
  • nginx picks a service in a cluster to route traffic to. If you say foo.com, go to service 1. That service is considered the upstream. It's very confusing. "Down is upstream"
  • 00:29 Limitations in Ingress protecting namespaces from stepping on each other
  • 00:31 Clarifying what we mean by upstream
  • 00:34 Installing Contour
  • 00:37 Investigating the yaml we use to install Contour
    • Pro tip to new listeners: Joe will typically spend time going through yaml files before deployment to see exactly what something does on your cluster before applying. Good habit to get in to!
  • 00:50 We're up and running!