CONFIDENTIELCONFIDENTIEL
Contour
CNCF Nantes Meetup - 10 décembre 2018
@Gaelleacas
Développeuse
Kubernetes cluster
Michael Gasch (VMware)
“Autonomous processes reacting to events from the API server”
Kubernetes : Services
https
Expose Pods
node
ClusterIp: no external access
NodePort: open port on all nodes


app=app1
service


service
app=app2


app=app1
Pod


app=app1
Pod


Pod
app=app2


Pod
app=app2
type: LoadBalancer
Kubernetes : Ingress
https
Expose Services
node
LoadBalancer: Expose to the world
NodePort: open port on all nodes


app=app1
service


service
app=app2


app=app1
Pod


app=app1
Pod


Pod
app=app2


Pod
app=app2
type: ClusterIp
Ingress
Kubernetes : Ingress
Ingress Controller



Component that allows to control a reverse-proxy (nginx / traefik …)
Ingress resource:
Rule that defines routing to a service in a cluster
Contour
by Craig McLuckie & Joe Beda
API objects
Manage Network

traffic translate
watch
Contour
(Ingress, Service et Endpoint)
(json)
How it works ?
🦄
Ingress in 

Multi-team
https://santa.local
https://santa.local/legohttps://santa.local/playmo
Ingress
Cluster
namespace

playmo
namespace
lego
namespace
santa
BigBoss
DEMO
Install: https://j.hept.io/contour-deployment-rbac
Ingress

‟Achilles’ heel of a multi-team cluster”
Not progressed beyond the beta stage v1.1🤨
Ingress / services in same namespace☹
Explosion of annotations🤯
No safeguards to avoid accidental changes☠
Deployment strategy
canaryblue/green
👾
Contour

IngressRoute to the rescue
Demo is better !
Custom resource definition (k8s > 1.10)
Cross-namespaces
Enables delegation of routing configuration
Safeguard
💡
🚀
)
*
Other good features
Demo :)
Websocket
Permit Insecure route (acme-challenge)
Prefix Rewrite Support
Blue/Green CanaryDeployment strategy🔀
🔓
🧦
/
Lost in routes ?
Directed acyclic graph
(Dag)
Envoy admin interface (No UI)
Kubectl -n heptio-contour port-forward [CONTOUR_POD] 6060
Contour What Next ?
Kubernetes multi-cluster ingressGimbal
Resources / Links
kubernetes.slack.com : Contour
https://github.com/heptio/contour
🎦 https://github.com/heptio/tgik
https://github.com/heptio/gimbal
Thank God It's Friday K8s
MERCI
:)

Heptio Contour - talk CNCF Nantes