Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Emissary Ingress 101 by danielbryantuk June CNC...
Search
cncf-canada-meetups
June 01, 2021
Technology
0
68
Emissary Ingress 101 by danielbryantuk June CNCF Canada Meetup
Emissary-ingress 101: An introduction to the CNCF incubation-level API gateway
cncf-canada-meetups
June 01, 2021
Tweet
Share
More Decks by cncf-canada-meetups
See All by cncf-canada-meetups
Canada Cloud Native Meetups - 2025 Sponsor Deck
cncfcanada
0
13
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope
cncfcanada
0
70
[CNCF Q1 2024] Remediate Kubernetes Security Threats in Real-Time with Falco Talon
cncfcanada
0
19
[Q2 CNCF 2023] Metrio, a Cloud run journey
cncfcanada
0
17
[CNCF Q1 2024] Agentic Installer LLMs Helm Charts by Chris Gruel @Akeyless
cncfcanada
0
23
Karpenter @LightSpeed
cncfcanada
0
57
Shorten the dev loop with mirrord
cncfcanada
0
29
October 2023 Montreal CNCF Meetup
cncfcanada
0
41
Beyond Dashboarding The Grafana Observability Stack by Steve Caron
cncfcanada
0
77
Other Decks in Technology
See All in Technology
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
590
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
OS 標準のデザインシステムを超えて - より柔軟な Flutter テーマ管理 | FlutterKaigi 2024
ronnnnn
0
110
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
120
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
160
複雑なState管理からの脱却
sansantech
PRO
1
150
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
610
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
Featured
See All Featured
Side Projects
sachag
452
42k
Designing the Hi-DPI Web
ddemaree
280
34k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
RailsConf 2023
tenderlove
29
900
Automating Front-end Workflow
addyosmani
1366
200k
Facilitating Awesome Meetings
lara
50
6.1k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
How STYLIGHT went responsive
nonsquared
95
5.2k
Into the Great Unknown - MozCon
thekraken
32
1.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
A Tale of Four Properties
chriscoyier
156
23k
BBQ
matthewcrist
85
9.3k
Transcript
Emissary Ingress 101 Daniel Bryant @danielbryantuk |
[email protected]
Director of
DevRel, Ambassador Labs
What is Emissary Ingress? Open-source cloud-native API gateway, powered by
Envoy • Formerly known as Ambassador API Gateway • CNCF Incubation project • Developer-focused (self-service config) ◦ CRDs, Ingress, or Kubernetes annotations • Wide adoption over the past four years 2
Traffic management Emissary is an API Gateway Jane: /quote/ Mark:
/quote/update/ 3
Emissary is an API Gateway Jane: /quote/ Mark: /quote/update/ App
development App security 4 Mark: /quote/update/ X Rate Limiting Resilience Observability
Resilience • Advanced load balancing • Circuit breakers • Automatic
retries • Timeouts • Auth (via ext_authz) • Rate limiting (via rls.proto) Observability • Distributed tracing • Real-time metrics • Logs (+Envoy output) Cloud-native • Service discovery with Kubernetes and Consul • Zero downtime configuration • Stateless high availability architecture L7 support • HTTP/1.0, HTTP/1.1, HTTP/2 • gRPC, gRPC-Web • TCP, WebSockets • Server Name Indication (SNI) • Gzip compression Emissary Core Features Emissary Core Features 5
Emissary is Built on Envoy Proxy 6
Emissary is Ambassador’s Open Core 7
Use cases
API Gateway for North/South traffic Traffic management App security App
development 9
Internal / External 10
Hub and Spoke Traffic management App security App development 11
None
Service meshes: We’ve got you covered https://www.getambassador.io/docs/edge-stack/latest/howtos/
Configuration
Configuring the Control Plane apiVersion: getambassador.io/v2 kind: Mapping metadata: name:
quote-mapping spec: prefix: /quote/ service: quote apiVersion: getambassador.io/v2 kind: Host metadata: name: wildcard-host spec: hostname: “*” acmeProvider: authority: none tlsSecret: name: base-cert apiVersion: getambassador.io/v2 kind: AuthService metadata: name: extauth-service spec: auth_service: example-auth path_prefix: “/extauth” allowed_request_headers: - “x-example-session” allowed_authorization_headers: - “x-example-session” - “x-example-userid” apiVersion: getambassador.io/v2 kind: Mapping metadata: name: quote2-mapping spec: prefix: /quote/ service: fancy-quote weight: 10 apiVersion: getambassador.io/v2 kind: Mapping metadata: name: restricted-mapping spec: host: restricted.example.com prefix: /restricted/ rewrite: /a/very/safe/path/ rewrite_host: safe.example.com service: dangerous-service 15
Configuring the Control Plane apiVersion: getambassador.io/v2 kind: Mapping metadata: name:
quote-mapping spec: prefix: /quote/ service: quote apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: kubernetes.io/ingress.class: ambassador name: example-ingress spec: tls: - hosts: - sslexample.foo.com secretName: sslexample-cert rules: - host: sslexample.foo.com http: paths: - path: /quote/ backend: serviceName: quote servicePort: 80 apiVersion: getambassador.io/v2 kind: Host metadata: name: wildcard-host spec: hostname: “sslexample.foo.com” acmeProvider: authority: none tlsSecret: name: sslexample-cert 16
Gateway API www.getambassador.io/docs/edge-stack/latest/topics/using/gateway-api/
Service meshes: We’ve got you covered https://www.getambassador.io/docs/edge-stack/latest/howtos/
Make Money* with Emissary-Ingress & Linkerd Install add_linkerd_headers: true *
Making money not guaranteed!
Emissary + Linkerd https://www.getambassador.io/docs/edge-stack/latest/howtos/linkerd2/ www.youtube.com/watch?v=nWCvine4_Sw
Emissary + HashiCorp Consul www.youtube.com/watch?v=QnvU4vCgAlE blog.getambassador.io/part-3-incremental-app-migration-from-vms-to-kubernetes-amb assador-and-consul-aacf87eea3e8
Observability www.getambassador.io/docs/edge-stack/latest/howtos/prometheus/ www.getambassador.io/docs/edge-stack/latest/topics/running/services/tracing-service/ www.youtube.com/watch?v=hPifPTEAFK0
Observability and understandability www.youtube.com/watch?v=bdvxsEIhHcc a8r.io
Adoption
Four Remarkable Years Initial release, March 2017 Ambassador 1.0 release,
Jan 2020 CNCF donation as Emissary, April 2021 3.3K GitHub stars 5000+ Slack members 160+ contributors 500+ forks 25
None
The cloud native superpower: The people Emissary Ingress could never
have come this far without the amazing community that’s grown up around it Many, many thanks! (And we’re only just getting started)
Proven and Growing Rapidly Many production deployments: • AppDirect: (KubeCon
NA 2018 presentation) • GoSpotCheck: (KubeCon NA 2019 presentation) • Lifion by ADP • Ticketmaster • Chick-Fil-A • OneFootball (KubeCon EU 2019 presentation) 28
Getting Started with Emissary-Ingress www.getambassador.io/docs/edge-stack/latest/topics/install/install-ambassador-oss/ app.getambassador.io/initializer/
Thanks! @danielbryantuk |
[email protected]
To get involved or ask questions:
www.getambassador.io/developer-office-hours/ a8r.io/slack 30