This has been a very frequent question for most of the developers and architects who are evaluating WSO2 API Microgateway for their solution implementation. First of all the answer to that frequent question is YES, microgateway can be deployed in k3s.

Image for post
Image for post
Deployment in K3S

K3s is a lightweight, high available certified kubernetes distribution. Its a small (<40MB) distribution with less dependencies and simplified steps to install. In this tutorial we will see how we can deploy microgateway 3.1.0 in k3s.

Install API Microgateway Toolkit

  1. Lets download the microgateway toolkit from here
  2. Extract the downloaded binary zip file to your preferred location. Let’s call this extracted location $MGW_TOOLKIT_HOME.
  3. Set the bin folder of the toolkit to the path…


Every person using a smart phone, laptop, tab or any other smart device is consuming thousand of APIs everyday without knowingly. As the number of services as well as the consumption of services grows, common entry point is needed for the services of your organization. This entry point allows the services to be consumed by the outside parties. So in a simple terms API gateway is a single entry point for your services where outside parties can consume your services exposed as APIs. Apart from being the interface to the outside world, API gateways provide many more functionalities that is required by all or most of the services exposed via the gateway. …


WSO2 API manager team recently released the major version 3.0 of its Microgateway. Please refer my blog [1] where I am explaining key attributes of microgateway, what are the changes we have done in this new release, what new features available , what are the use cases of microgateway and what to expect in the future for WSO2 API Microgateway.

Image for post
Image for post

[1] — https://wso2.com/blogs/thesource/2019/07/wso2-api-microgateway-3-0-is-released/


Image for post
Image for post

WSO2 API Microgateway (MGW), currently does not have the inbuilt capability to perform custom mediation. But we have provided an extension point to do additional mediation logic, this will be applied to all the APIs exposed via MGW. In this article I will show you how we can achieve per API mediation with MGW using annotations.

WSO2 API MGW is built on top of ballerina language . The language has the capability to add custom annotations to your services and resources(/orders Get) definitions. In MGW we generate ballerina services for the APIs when we executes the set up command from the gateway toolkit .


Envoy has been gaining lot of popularity recently due to its ability to adapt itself to cater the requirements of the micro services architecture (MSA). Envoy has become an integral part when creating a data plane of modern service meshes. In most cases envoy act as an edge proxy(network abstraction) for all the services, it runs as a side car proxy for the services. But envoy can be improved as an complete abstract layer for services.

We can abstract anything from the services that could be abstracted away and can be built into envoy. Envoy functionality can be extended in order to provide authentication, authorization, rate limiting analytics and etc. These are the key features provided by modern cloud native API gateways as well as legacy API gateways. …

About

Rajith Karunarathne

Associate Tech Lead @ WSO2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store