THE CLOUD CONNECTIVITY COMPANY
Supercharge Your Ingress with Kong Viktor Gamov | @gamussa October 2021
f
THE CLOUD CONNECTIVITY COMPANY
Kong Con idential
Agenda
What I will try to show you today
• Cloud Native / Kubernetes Native Application Management • Intro to Kubernetes Ingress • Advanced Features
@gamussa | @grpcio | @thekonginc
type: LoadBalancer LB
Orders Orders
THE CLOUD CONNECTIVITY COMPANY
Orders
@gamussa | @grpcio | @thekonginc
LB
Bills Orders
THE CLOUD CONNECTIVITY COMPANY
Analytics
Orders
Bills
Inventory
@gamussa | @grpcio | @thekonginc
Inventory
Analytics Orders
LB
LB
Bills Orders
THE CLOUD CONNECTIVITY COMPANY
LB
Analytics
Orders
Bills
Inventory
@gamussa | @grpcio | @thekonginc
Inventory
Analytics Orders
Proxy
Bills Orders
THE CLOUD CONNECTIVITY COMPANY
Analytics
Orders
Bills
Inventory
@gamussa | @grpcio | @thekonginc
Inventory
Analytics Orders
Vendor Neutral Spec apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: finance-apis spec: rules: - host: example.com http: paths: - path: /bills backend: service: name: bills THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
The Same Old One port of entry
Traf ic management
Operations - Security & audits - $ effective
Connection management -
TCP and TLS termination Certi icate management Service mesh
f
THE CLOUD CONNECTIVITY COMPANY f
Load balancing Throttling Canary Service mesh
@gamussa | @grpcio | @thekonginc
12
kubectl apply -f ingress.yaml
API-server
Proxy
bills
orders
THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
13
Who will implement all this? Load-balance Circuit-break Authentication Metrics
Rate-limiting Logging
Caching
Transformations Serverless Custom logic
THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
14
Hmm…
kubectl apply -f ingress.yaml API-server
Proxy
bills
orders
THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
16
What if? Proxy
THE CLOUD CONNECTIVITY COMPANY
Authentication
Load-balance
Logging
Circuit-break
Metrics
Rate-limiting
Caching
Transformations
Serverless
Custom logic
@gamussa | @grpcio | @thekonginc
17
con iguration.konghq.com/v1
Custom Resource De inition KongPlugins
Additional functions that can be executed as requests are proxied to each Service
@gamussa | @grpcio | @thekonginc f
f
THE CLOUD CONNECTIVITY COMPANY
Authentication
Load-balance
Logging
Circuit-break
Metrics
Rate-limiting
Caching
Transformations
Serverless
Custom logic
18
Popular gRPC plugins
■ Ingress for gRPC services ■ https://docs.konghq.com/hub/kong-inc/grpc-gateway/ ■ https://docs.konghq.com/hub/kong-inc/grpc-web/
THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
DEMO! Talk is cheap, show me the code ™
THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
Join Kong Nation! Links - https://konghq.com/kong-builders/ - https://youtube.com/konginc - https://konghq.com/community/
THE CLOUD CONNECTIVITY COMPANY
@gamussa | @grpcio | @thekonginc
THE CLOUD CONNECTIVITY COMPANY
Supercharge Your Ingress with Kong Viktor Gamov | @gamussa October 2021
f
THE CLOUD CONNECTIVITY COMPANY
Kong Con idential