SlideShare a Scribd company logo
1 of 39
Download to read offline
Using OpenAPI
to configure your
API Gateway
Ole Lensmar, CTO, Kubeshop
www.kusk.io
OpenAPI
driving the API
Lifecycle
www.kusk.io
Recap — what does an API Gateway do?
● Basic functionality
○ Routing / mapping
○ Rate-limiting / timeouts
○ Authentication / CORS
● Advanced
○ Security (intrusion detection, etc.)
○ Orchestration / Aggregation
○ Transformation
○ Validation
○ etc.
www.kusk.io
Potential overlap with
OpenAPI
● An OpenAPI definition
contains metadata on:
○ Operations / paths / methods /
parameters
● OpenAPI Extensions can be used /
defined for adding arbitrary metadata
○ Additional security
○ SLAs (SLA4OAS)
○ Rate-limits, timeouts
○ etc.
○ Message format (JSON Schema)
○ Security Schemes
www.kusk.io
2022 SERIES OF EVENT
New York
JULY
(HYBRID)
Australia
SEPTEMBER
(HYBRID)
Singapore
APRIL
(VIRTUAL)
Helsinki & North
MARCH
(VIRTUAL)
Paris
DECEMBER
(HYBRID)
London
OCTOBER
(HYBRID)
Hong Kong
AUGUST
(VIRTUAL)
JUNE (VIRTUAL)
India
MAY
(VIRTUAL)
APRIL (VIRTUAL)
Dubai & Middle East
JUNE
(VIRTUAL)
Check out our API Conferences here
Wa nt t o t a lk a t one of our conference?
Apply t o spea k here
Wouldn’t it be great if you could use
your OpenAPI definition to configure your
API Gateway?
www.kusk.io
OpenAPI driving your API
Gateway — why?
● One source of truth the
OpenAPI definition defines both
functional and operational aspects
of an API
www.kusk.io
OpenAPI driving your API
Gateway — why?
● One source of truth the
OpenAPI definition defines both
functional and operational aspects
of an API
● Ease collaboration for involved
stakeholders (dev, test, ops, doc, etc.)
www.kusk.io
OpenAPI driving your API
Gateway — why?
● One source of truth the
OpenAPI definition defines both
functional and operational aspects
of an API
● Ease collaboration for involved
stakeholders (dev, test, ops, doc, etc.)
● “DevOps” automation use GitOps /
CI / CD to configure your API-Gateway
○ Ensure that runtime configuration
is in sync with the actual API
○ Empower dev teams to iterate rapidly
without DevOps involvement
○ Configure adjacent infrastructure;
monitoring, analytics, security, etc.
www.kusk.io
OpenAPI
driving the API
Lifecycle
www.kusk.io
Approaches to using OpenAPI
for Gateway Configuration
www.kusk.io
Approaches to using OpenAPI
for Gateway Configuration
1. Import OpenAPI and refine with
gateway-specific configuration / UI
with / without gateway-specific
OpenAPI Extensions
www.kusk.io
Approaches to using OpenAPI
for Gateway Configuration
1. Import OpenAPI and refine with
gateway-specific configuration / UI
with / without gateway-specific
OpenAPI Extensions
2. Generate standalone gateway
configuration from OpenAPI
with / without gateway-specific
OpenAPI Extensions
www.kusk.io
Approaches to using OpenAPI
for Gateway Configuration
1. Import OpenAPI and refine with
gateway-specific configuration / UI
with / without gateway-specific
OpenAPI Extensions
2. Generate standalone gateway
configuration from OpenAPI
with / without gateway-specific
OpenAPI Extensions
3. Gateway uses OpenAPI
natively for configuration
with gateway-specific OpenAPI
Extensions
www.kusk.io
● Pros:
1. Import OpenAPI and Refine..
○ Easy to get started
with gateway from OpenAPI
● Very common approach
○ AWS
○ Azure
○ Google
○ Tyk.io
○ Gloo
○ and many more...
○ Access to all gateway features
● Cons:
○ Doesn’t always work with
iterative / automated workflow
○ OpenAPI is not the
source-of-truth
www.kusk.io
● Pros:
2. Generate Gateway configuration from OpenAPI
○ Makes OpenAPI definition
the source of truth
● Generator frameworks
○ Swagger-codegen
○ OpenAPI-generator
○ Automatable / iterative development
● Cons:
○ Needs extensions
for Gateway functionality
○ Extra step to generate
and apply configuration
○ GitOps compatible in Kubernetes
context ● Let’s get back
to this...
www.kusk.io
3. Gateway uses OpenAPI natively
for configuration
● Pros:
○ OpenAPI is the source of truth
● Cons:
○ Needs extensions for Gateway
functionality
○ “Shoehorning” — should all
configuration really be in the
OpenAPI definition?
○ Harness OpenAPI metadata
for QoS functionality
○ Supports automated / iterative
workflows
○ GitOps compatible in Kubernetes
context ● Examples? Let’s get back
to this one…
www.kusk.io
API Gateways and Kubernetes
www.kusk.io
API Gateways
and Kubernetes
● Kubernetes generally uses an Ingress
to expose an API outside a cluster
● An Ingress Controller provides the actual
Ingress implementation; Nginx-Ingress is
the most common, others are Ambassador,
Traefik, etc.
● API Gateways for K8s are usually Ingress
Controllers also
www.kusk.io
Challenges specific
to Ingress Controllers
● The Ingress specification lacks many
features often needed to expose APIs
in production (being complemented /
replaced by the Gateway API)
● Each Ingress controller has their own
configuration file(s) / format(s) / approaches
to provide extra/unique functionality
● Due to the nature of Kubernetes and
adoption of GitOps, Ingress controllers
are generally CRD / configuration driven
● Configuring Ingress Controllers is often
done by Ops — while evolving the API
is done by Dev -> workflow contention
www.kusk.io
Wouldn’t it be great if you could
use OpenAPI to configure your Ingress
Controller?
www.kusk.io
Wouldn’t it be great if you could
use OpenAPI to configure your Ingress
Controller?
1. One source-of-truth!
www.kusk.io
Wouldn’t it be great if you could
use OpenAPI to configure your Ingress
Controller?
1. One source-of-truth!
2. No new/YAML configuration files!
www.kusk.io
Wouldn’t it be great if you could
use OpenAPI to configure your Ingress
Controller?
1. One source-of-truth!
2. No new/YAML configuration files!
3. Automated workflows = No DevOps!
www.kusk.io
That’s why we built Kusk
● Kusk makes your OpenAPI
definition the source of truth for:
○ Operation routing and availability
○ Rate-limiting, CORS, Timeouts
www.kusk.io
● Use Kusk-gen with an existing
Ingress controller / API Gateway
○ Ambassador 1.x / 2.x, Linkerd,
Ingress-Nginx, Traefik, <your
favorite here>
● Use Kusk Gateway as a standalone
Ingress controller / API Gateway
● 100% Open-Source - MIT license
○ Validation, Mocking, Metrics /
Coverage
● x-kusk extension for configuring:
Kusk OpenAPI Extension
○ Rate-limiting
○ Timeouts
○ CORS
○ Disable paths / operations
○ Cluster-specific properties
■ Targeted service(s)
www.kusk.io
○ Mocking
○ Validation
Using Kusk-Gen with an
existing controller - why?
● Configuring / changing Ingress
Controllers is tedious
○ Different formats
○ Multiple files
○ Inconsistent feature-sets
○ More people - More YAML!
● Kusk only requires you to extend
your OpenAPI definition with additional
metadata
○ No new configuration files to learn
○ Keep all API-metadata in one place
○ Consistent approach to configuring
QoS features for supported Ingress
Controllers
www.kusk.io
Detect/inspect/generate
www.kusk.io
Kusk-gen + OpenAPI + CD GitOps
www.kusk.io
Wouldn’t it be even greater if your API
Gateway speaks OpenAPI Natively?
1. One source-of-truth!
2. No new/YAML configuration files!
3. Automated workflows = No DevOps!
www.kusk.io
Wouldn’t it be even greater if your API
Gateway speaks OpenAPI Natively?
1. One source-of-truth!
2. No new/YAML configuration files!
3. Automated workflows = No DevOps!
4. OpenAPI Driven functionality
www.kusk.io
Wouldn’t it be even greater if your API
Gateway speaks OpenAPI Natively?
1. One source-of-truth!
2. No new/YAML configuration files!
3. Automated workflows = No DevOps!
4. OpenAPI Driven functionality
a. Validation, Mocking, Debugging, etc
www.kusk.io
Wouldn’t it be even greater if your API
Gateway speaks OpenAPI Natively?
1. One source-of-truth!
2. No new/YAML configuration files!
3. Automated workflows = No DevOps!
4. OpenAPI Driven functionality
a. Validation, Mocking, Debugging, etc
b. Security, Metrics, API Coverage, etc
www.kusk.io
Wouldn’t it be even greater if your API
Gateway speaks OpenAPI Natively?
Kusk Gateway
● Your OpenAPI definition becomes
the source-of-truth for both functional
and QoS / deployment aspects of your
API
● You can rapidly iterate on your API
without having to require DevOps
resources
● You won’t have to write boilerplate code for
functionality that Kusk Gateway can provide
out-of-the-box based on the OpenAPI
definition: request-validation, mocking,
metrics / analytics, security, etc.
www.kusk.io
Kusk Gateway
● Built on Envoy - a battle proven proxy
for Kubernetes used by many other
Gateways
● Based on the same x-kusk extension
as Kusk-Gen - configure
operation-level rate-limiting,
timeouts, enable/disable, etc.
● Deployed as a standard Kubernetes
Controller/Operator with CRDs for
configuring APIs based on OpenAPI
● OpenAPI-specific functionality
- Configurable request validation with
user-friendly error messages based on the
operation/schema definition
- Configurable operation mocking based on
provided example responses in the OpenAPI
definition
www.kusk.io
● Kusk Gateway UI - Browser-based dashboard
for invoking/debugging deployed APIs
- metrics/health/usage
- operational parameters
- etc
Kusk Gateway UI
www.kusk.io
Kusk-Gateway
+ OpenAPI +
CD GitOps
OpenAPI +
Kusk Gateway
driving the
API Lifecycle
www.kusk.io
Kusk:
kusk.io
Discord:
bit.ly/kubeshop-discord
Kubeshop:
kubeshop.io
by Kubeshop
Come to our virtual booth
to learn more!
Thank You!
Presenter: Ole Lensmar

More Related Content

Similar to 2022 apidays LIVE Helsinki & North_Using OpenAPI to configure your API Gateway

Introduction to Apigility
Introduction to ApigilityIntroduction to Apigility
Introduction to ApigilityEngineor
 
Apigility introduction v2 (glasgow php)
Apigility introduction v2 (glasgow php)Apigility introduction v2 (glasgow php)
Apigility introduction v2 (glasgow php)Engineor
 
Get Your Node.js API Swaggering with OpenAPI Spec
Get Your Node.js API Swaggering with OpenAPI SpecGet Your Node.js API Swaggering with OpenAPI Spec
Get Your Node.js API Swaggering with OpenAPI SpecAdam Paxton
 
OpenAPI Generator The Babel Fish of The API World - apidays Live Paris
OpenAPI Generator The Babel Fish of The API World - apidays Live ParisOpenAPI Generator The Babel Fish of The API World - apidays Live Paris
OpenAPI Generator The Babel Fish of The API World - apidays Live ParisCliffano Subagio
 
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
[apidays LIVE HONK KONG] - OAS to Managed API in SecondsWSO2
 
API Proxy Auto Discovery
API Proxy Auto DiscoveryAPI Proxy Auto Discovery
API Proxy Auto DiscoveryVince Soliza
 
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud GatewaySpring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud GatewayIván López Martín
 
Create and Manage APIs with API Connect, Swagger and Bluemix
Create and Manage APIs with API Connect, Swagger and BluemixCreate and Manage APIs with API Connect, Swagger and Bluemix
Create and Manage APIs with API Connect, Swagger and BluemixDev_Events
 
Run your Java apps on Cloud Foundry
Run your Java apps on Cloud FoundryRun your Java apps on Cloud Foundry
Run your Java apps on Cloud FoundryAndy Piper
 
Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)
Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)
Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)jaxLondonConference
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 201510 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015Peter Sabev
 
Why and how to leverage apache camel integration framework in your io t archi...
Why and how to leverage apache camel integration framework in your io t archi...Why and how to leverage apache camel integration framework in your io t archi...
Why and how to leverage apache camel integration framework in your io t archi...Aurélien Pupier
 
Space Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfSpace Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfPostman
 
Using OSGi for script deployment in Apache Sling
Using OSGi for script deployment in Apache SlingUsing OSGi for script deployment in Apache Sling
Using OSGi for script deployment in Apache SlingRadu Cotescu
 
OSGi, Eclipse and API Tooling
OSGi, Eclipse and API ToolingOSGi, Eclipse and API Tooling
OSGi, Eclipse and API ToolingChris Aniszczyk
 
Why we chose Argo Workflow to scale DevOps at InVision
Why we chose Argo Workflow to scale DevOps at InVisionWhy we chose Argo Workflow to scale DevOps at InVision
Why we chose Argo Workflow to scale DevOps at InVisionNebulaworks
 
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...apidays
 
OpenAPI Generator The Babel Fish of The API World - apidays Live Australia
OpenAPI Generator The Babel Fish of The API World - apidays Live AustraliaOpenAPI Generator The Babel Fish of The API World - apidays Live Australia
OpenAPI Generator The Babel Fish of The API World - apidays Live AustraliaCliffano Subagio
 
Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...
Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...
Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...apidays
 

Similar to 2022 apidays LIVE Helsinki & North_Using OpenAPI to configure your API Gateway (20)

Introduction to Apigility
Introduction to ApigilityIntroduction to Apigility
Introduction to Apigility
 
OpenAPI Extensions for OSLC
OpenAPI Extensions for OSLCOpenAPI Extensions for OSLC
OpenAPI Extensions for OSLC
 
Apigility introduction v2 (glasgow php)
Apigility introduction v2 (glasgow php)Apigility introduction v2 (glasgow php)
Apigility introduction v2 (glasgow php)
 
Get Your Node.js API Swaggering with OpenAPI Spec
Get Your Node.js API Swaggering with OpenAPI SpecGet Your Node.js API Swaggering with OpenAPI Spec
Get Your Node.js API Swaggering with OpenAPI Spec
 
OpenAPI Generator The Babel Fish of The API World - apidays Live Paris
OpenAPI Generator The Babel Fish of The API World - apidays Live ParisOpenAPI Generator The Babel Fish of The API World - apidays Live Paris
OpenAPI Generator The Babel Fish of The API World - apidays Live Paris
 
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
 
API Proxy Auto Discovery
API Proxy Auto DiscoveryAPI Proxy Auto Discovery
API Proxy Auto Discovery
 
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud GatewaySpring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
Spring IO 2023 - Dynamic OpenAPIs with Spring Cloud Gateway
 
Create and Manage APIs with API Connect, Swagger and Bluemix
Create and Manage APIs with API Connect, Swagger and BluemixCreate and Manage APIs with API Connect, Swagger and Bluemix
Create and Manage APIs with API Connect, Swagger and Bluemix
 
Run your Java apps on Cloud Foundry
Run your Java apps on Cloud FoundryRun your Java apps on Cloud Foundry
Run your Java apps on Cloud Foundry
 
Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)
Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)
Run Your Java Code on Cloud Foundry - Andy Piper (Pivotal)
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 201510 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
 
Why and how to leverage apache camel integration framework in your io t archi...
Why and how to leverage apache camel integration framework in your io t archi...Why and how to leverage apache camel integration framework in your io t archi...
Why and how to leverage apache camel integration framework in your io t archi...
 
Space Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfSpace Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdf
 
Using OSGi for script deployment in Apache Sling
Using OSGi for script deployment in Apache SlingUsing OSGi for script deployment in Apache Sling
Using OSGi for script deployment in Apache Sling
 
OSGi, Eclipse and API Tooling
OSGi, Eclipse and API ToolingOSGi, Eclipse and API Tooling
OSGi, Eclipse and API Tooling
 
Why we chose Argo Workflow to scale DevOps at InVision
Why we chose Argo Workflow to scale DevOps at InVisionWhy we chose Argo Workflow to scale DevOps at InVision
Why we chose Argo Workflow to scale DevOps at InVision
 
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
apidays LIVE Paris 2021 - APIGEE, different ways for integrating with CI/CD p...
 
OpenAPI Generator The Babel Fish of The API World - apidays Live Australia
OpenAPI Generator The Babel Fish of The API World - apidays Live AustraliaOpenAPI Generator The Babel Fish of The API World - apidays Live Australia
OpenAPI Generator The Babel Fish of The API World - apidays Live Australia
 
Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...
Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...
Apidays Paris 2023 - OpenAPI 3.1 and Spring-Boot 3 - What's New?, Badr Nass L...
 

More from apidays

Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...apidays
 
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...apidays
 
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...apidays
 
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...apidays
 
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...apidays
 
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...apidays
 
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...apidays
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...apidays
 
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...apidays
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...apidays
 
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...apidays
 
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...apidays
 
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMApidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMapidays
 
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...apidays
 
Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...apidays
 
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...apidays
 

More from apidays (20)

Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
Apidays Singapore 2024 - Connecting Cross Border Commerce with Payments by Gu...
 
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
Apidays Singapore 2024 - Privacy Enhancing Technologies for AI by Mark Choo, ...
 
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
Apidays Singapore 2024 - Blending AI and IoT for Smarter Health by Matthew Ch...
 
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
Apidays Singapore 2024 - OpenTelemetry for API Monitoring by Danielle Kayumbi...
 
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
Apidays Singapore 2024 - Connecting Product and Engineering Teams with Testin...
 
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
Apidays Singapore 2024 - The Growing Carbon Footprint of Digitalization and H...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
Apidays Singapore 2024 - API Monitoring x SRE by Ryan Ashneil and Eugene Wong...
 
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
Apidays Singapore 2024 - A nuanced approach on AI costs and benefits for the ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
Apidays Singapore 2024 - How APIs drive business at BNP Paribas by Quy-Doan D...
 
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
Apidays Singapore 2024 - Harnessing Green IT by Jai Prakash and Timothée Dufr...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
Apidays Singapore 2024 - Creating API First Engineering Team by Asim Suvedi, ...
 
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
Apidays Singapore 2024 - Designing a Scalable MLOps Pipeline by Victoria Lo, ...
 
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
Apidays Singapore 2024 - The 5 Key Tenets of a Multiform API Management Strat...
 
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBMApidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
Apidays Singapore 2024 - APIs in the world of Generative AI by Claudio Tag, IBM
 
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
Apidays Singapore 2024 - Banking: From Obsolete to Absolute by Indra Salim, a...
 
Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...Apidays Singapore 2024 - Application and Platform Optimization through Power ...
Apidays Singapore 2024 - Application and Platform Optimization through Power ...
 
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
Apidays Singapore 2024 - Shift RIGHT to Better Product Resilience by Abhijit ...
 

Recently uploaded

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

2022 apidays LIVE Helsinki & North_Using OpenAPI to configure your API Gateway

  • 1. Using OpenAPI to configure your API Gateway Ole Lensmar, CTO, Kubeshop www.kusk.io
  • 3. Recap — what does an API Gateway do? ● Basic functionality ○ Routing / mapping ○ Rate-limiting / timeouts ○ Authentication / CORS ● Advanced ○ Security (intrusion detection, etc.) ○ Orchestration / Aggregation ○ Transformation ○ Validation ○ etc. www.kusk.io
  • 4. Potential overlap with OpenAPI ● An OpenAPI definition contains metadata on: ○ Operations / paths / methods / parameters ● OpenAPI Extensions can be used / defined for adding arbitrary metadata ○ Additional security ○ SLAs (SLA4OAS) ○ Rate-limits, timeouts ○ etc. ○ Message format (JSON Schema) ○ Security Schemes www.kusk.io
  • 5. 2022 SERIES OF EVENT New York JULY (HYBRID) Australia SEPTEMBER (HYBRID) Singapore APRIL (VIRTUAL) Helsinki & North MARCH (VIRTUAL) Paris DECEMBER (HYBRID) London OCTOBER (HYBRID) Hong Kong AUGUST (VIRTUAL) JUNE (VIRTUAL) India MAY (VIRTUAL) APRIL (VIRTUAL) Dubai & Middle East JUNE (VIRTUAL) Check out our API Conferences here Wa nt t o t a lk a t one of our conference? Apply t o spea k here
  • 6. Wouldn’t it be great if you could use your OpenAPI definition to configure your API Gateway? www.kusk.io
  • 7. OpenAPI driving your API Gateway — why? ● One source of truth the OpenAPI definition defines both functional and operational aspects of an API www.kusk.io
  • 8. OpenAPI driving your API Gateway — why? ● One source of truth the OpenAPI definition defines both functional and operational aspects of an API ● Ease collaboration for involved stakeholders (dev, test, ops, doc, etc.) www.kusk.io
  • 9. OpenAPI driving your API Gateway — why? ● One source of truth the OpenAPI definition defines both functional and operational aspects of an API ● Ease collaboration for involved stakeholders (dev, test, ops, doc, etc.) ● “DevOps” automation use GitOps / CI / CD to configure your API-Gateway ○ Ensure that runtime configuration is in sync with the actual API ○ Empower dev teams to iterate rapidly without DevOps involvement ○ Configure adjacent infrastructure; monitoring, analytics, security, etc. www.kusk.io
  • 11. Approaches to using OpenAPI for Gateway Configuration www.kusk.io
  • 12. Approaches to using OpenAPI for Gateway Configuration 1. Import OpenAPI and refine with gateway-specific configuration / UI with / without gateway-specific OpenAPI Extensions www.kusk.io
  • 13. Approaches to using OpenAPI for Gateway Configuration 1. Import OpenAPI and refine with gateway-specific configuration / UI with / without gateway-specific OpenAPI Extensions 2. Generate standalone gateway configuration from OpenAPI with / without gateway-specific OpenAPI Extensions www.kusk.io
  • 14. Approaches to using OpenAPI for Gateway Configuration 1. Import OpenAPI and refine with gateway-specific configuration / UI with / without gateway-specific OpenAPI Extensions 2. Generate standalone gateway configuration from OpenAPI with / without gateway-specific OpenAPI Extensions 3. Gateway uses OpenAPI natively for configuration with gateway-specific OpenAPI Extensions www.kusk.io
  • 15. ● Pros: 1. Import OpenAPI and Refine.. ○ Easy to get started with gateway from OpenAPI ● Very common approach ○ AWS ○ Azure ○ Google ○ Tyk.io ○ Gloo ○ and many more... ○ Access to all gateway features ● Cons: ○ Doesn’t always work with iterative / automated workflow ○ OpenAPI is not the source-of-truth www.kusk.io
  • 16. ● Pros: 2. Generate Gateway configuration from OpenAPI ○ Makes OpenAPI definition the source of truth ● Generator frameworks ○ Swagger-codegen ○ OpenAPI-generator ○ Automatable / iterative development ● Cons: ○ Needs extensions for Gateway functionality ○ Extra step to generate and apply configuration ○ GitOps compatible in Kubernetes context ● Let’s get back to this... www.kusk.io
  • 17. 3. Gateway uses OpenAPI natively for configuration ● Pros: ○ OpenAPI is the source of truth ● Cons: ○ Needs extensions for Gateway functionality ○ “Shoehorning” — should all configuration really be in the OpenAPI definition? ○ Harness OpenAPI metadata for QoS functionality ○ Supports automated / iterative workflows ○ GitOps compatible in Kubernetes context ● Examples? Let’s get back to this one… www.kusk.io
  • 18. API Gateways and Kubernetes www.kusk.io
  • 19. API Gateways and Kubernetes ● Kubernetes generally uses an Ingress to expose an API outside a cluster ● An Ingress Controller provides the actual Ingress implementation; Nginx-Ingress is the most common, others are Ambassador, Traefik, etc. ● API Gateways for K8s are usually Ingress Controllers also www.kusk.io
  • 20. Challenges specific to Ingress Controllers ● The Ingress specification lacks many features often needed to expose APIs in production (being complemented / replaced by the Gateway API) ● Each Ingress controller has their own configuration file(s) / format(s) / approaches to provide extra/unique functionality ● Due to the nature of Kubernetes and adoption of GitOps, Ingress controllers are generally CRD / configuration driven ● Configuring Ingress Controllers is often done by Ops — while evolving the API is done by Dev -> workflow contention www.kusk.io
  • 21. Wouldn’t it be great if you could use OpenAPI to configure your Ingress Controller? www.kusk.io
  • 22. Wouldn’t it be great if you could use OpenAPI to configure your Ingress Controller? 1. One source-of-truth! www.kusk.io
  • 23. Wouldn’t it be great if you could use OpenAPI to configure your Ingress Controller? 1. One source-of-truth! 2. No new/YAML configuration files! www.kusk.io
  • 24. Wouldn’t it be great if you could use OpenAPI to configure your Ingress Controller? 1. One source-of-truth! 2. No new/YAML configuration files! 3. Automated workflows = No DevOps! www.kusk.io
  • 25. That’s why we built Kusk ● Kusk makes your OpenAPI definition the source of truth for: ○ Operation routing and availability ○ Rate-limiting, CORS, Timeouts www.kusk.io ● Use Kusk-gen with an existing Ingress controller / API Gateway ○ Ambassador 1.x / 2.x, Linkerd, Ingress-Nginx, Traefik, <your favorite here> ● Use Kusk Gateway as a standalone Ingress controller / API Gateway ● 100% Open-Source - MIT license ○ Validation, Mocking, Metrics / Coverage
  • 26. ● x-kusk extension for configuring: Kusk OpenAPI Extension ○ Rate-limiting ○ Timeouts ○ CORS ○ Disable paths / operations ○ Cluster-specific properties ■ Targeted service(s) www.kusk.io ○ Mocking ○ Validation
  • 27. Using Kusk-Gen with an existing controller - why? ● Configuring / changing Ingress Controllers is tedious ○ Different formats ○ Multiple files ○ Inconsistent feature-sets ○ More people - More YAML! ● Kusk only requires you to extend your OpenAPI definition with additional metadata ○ No new configuration files to learn ○ Keep all API-metadata in one place ○ Consistent approach to configuring QoS features for supported Ingress Controllers www.kusk.io
  • 29. www.kusk.io Wouldn’t it be even greater if your API Gateway speaks OpenAPI Natively?
  • 30. 1. One source-of-truth! 2. No new/YAML configuration files! 3. Automated workflows = No DevOps! www.kusk.io Wouldn’t it be even greater if your API Gateway speaks OpenAPI Natively?
  • 31. 1. One source-of-truth! 2. No new/YAML configuration files! 3. Automated workflows = No DevOps! 4. OpenAPI Driven functionality www.kusk.io Wouldn’t it be even greater if your API Gateway speaks OpenAPI Natively?
  • 32. 1. One source-of-truth! 2. No new/YAML configuration files! 3. Automated workflows = No DevOps! 4. OpenAPI Driven functionality a. Validation, Mocking, Debugging, etc www.kusk.io Wouldn’t it be even greater if your API Gateway speaks OpenAPI Natively?
  • 33. 1. One source-of-truth! 2. No new/YAML configuration files! 3. Automated workflows = No DevOps! 4. OpenAPI Driven functionality a. Validation, Mocking, Debugging, etc b. Security, Metrics, API Coverage, etc www.kusk.io Wouldn’t it be even greater if your API Gateway speaks OpenAPI Natively?
  • 34. Kusk Gateway ● Your OpenAPI definition becomes the source-of-truth for both functional and QoS / deployment aspects of your API ● You can rapidly iterate on your API without having to require DevOps resources ● You won’t have to write boilerplate code for functionality that Kusk Gateway can provide out-of-the-box based on the OpenAPI definition: request-validation, mocking, metrics / analytics, security, etc. www.kusk.io
  • 35. Kusk Gateway ● Built on Envoy - a battle proven proxy for Kubernetes used by many other Gateways ● Based on the same x-kusk extension as Kusk-Gen - configure operation-level rate-limiting, timeouts, enable/disable, etc. ● Deployed as a standard Kubernetes Controller/Operator with CRDs for configuring APIs based on OpenAPI ● OpenAPI-specific functionality - Configurable request validation with user-friendly error messages based on the operation/schema definition - Configurable operation mocking based on provided example responses in the OpenAPI definition www.kusk.io ● Kusk Gateway UI - Browser-based dashboard for invoking/debugging deployed APIs - metrics/health/usage - operational parameters - etc
  • 38. OpenAPI + Kusk Gateway driving the API Lifecycle www.kusk.io
  • 39. Kusk: kusk.io Discord: bit.ly/kubeshop-discord Kubeshop: kubeshop.io by Kubeshop Come to our virtual booth to learn more! Thank You! Presenter: Ole Lensmar