Slide 1

Slide 1 text

Kubernetes Ingress with Consul and ngrok

Slide 2

Slide 2 text

Sr. Developer Advocate at HashiCorp he / him @ksatirli Kerim Satirli

Slide 3

Slide 3 text

Principal Developer Advocate at ngrok he / him @stmcallister Scott McAllister

Slide 4

Slide 4 text

01 Setting the Stage

Slide 5

Slide 5 text

Challenge: Get our app online.

Slide 6

Slide 6 text

Your service Your customer Before ngrok

Slide 7

Slide 7 text

Your service Your customer Before ngrok Internet NAT 202.45.1.1 192.168.1 SW NAT Internet Router VPN Router VPNs Firewalls Internet Public firewall DMZ Internal firewall email

Slide 8

Slide 8 text

After ngrok Your service Your customer

Slide 9

Slide 9 text

> ngrok CLI ngrok http 80 --domain="kubecon-eu-2023.ngrok.dev" Session Status online Account Scott McAllister (Plan: Pro) Version 3.2.2 Region Europe (eu) Latency 235ms Web Interface http://127.0.0.1:4040 Forwarding https://kubecon-eu-2023.ngrok.dev

Slide 10

Slide 10 text

It all started with a local Kubernetes Cluster.

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

02 Connecting the Bits

Slide 13

Slide 13 text

ngrok Ingress Controller

Slide 14

Slide 14 text

ngrok Ingress Controller sa-1 eu-1 us-1 outbound TLS kubecon-eu-2023.ngrok.dev

Slide 15

Slide 15 text

ngrok Ingress Controller Middleware Webhook Validation Auth Encryption Load Balancing Unauthorized requests Valid requests

Slide 16

Slide 16 text

Increase Productivity Insulate K8s engineers from hosting infrastructure specifics Insulate developers from managing sidecars, network agents, and VPN clients Increase focus on business outcomes ngrok Ingress Controller Optimize Operations Eliminate network inbound provisioning and agent burden Eliminate bespoke networking Enable multi-cluster deployments Reduce Complexity Automate and secure north-to-south traffic regardless of cluster hosting and infrastructure model Simplifies north-to-south traffic

Slide 17

Slide 17 text

Sample Workload https://kubecon-eu-2023.ngrok.dev/

Slide 18

Slide 18 text

Try it yourself! https://github.com/ksatirli/kubernetes-ingress-with-consul-and-ngrok

Slide 19

Slide 19 text

Thank you speakerdeck.com/ksatirli