Envoy WASM Filter Management
Meshery offers powerful features that simplify the management of Envoy WASM filters in Istio.
Meshery UI and CLI Integration
- Import WASM Envoy Filters: Easily import your WebAssembly Envoy filters into Meshery using the intuitive UI or the command-line interface (CLI).
- Publish and Clone Filters: Share your filters with the community by publishing them in the Meshery Catalog and make it effortless for others to clone them.
- Download WASM Binaries: Access and download WebAssembly binaries directly from your Remote Provider like Layer5 Cloud.
- Efficient Data Plane Design: Seamlessly design and deploy Istio and Envoy data planes using extensions like Kanvas.
- Contribute to Open Source: Get involved with the cloud native community by contributing to any of the open source wasm-filters developed by the Meshery community.
Envoy WASM Filter Management
As of Meshery v0.7, the management of Envoy WASM filters includes:
Meshery Server Integration
- β New WASM Filter Component: A new component is available in the Design Configurator to simplify filter management.
- β Improved Component Icon: Enhancements have been made to provide a more user-friendly experience.
- β Relationship Patch Policy: A new policy has been introduced to streamline the relationship between components.
Meshery CLI
- β
Import Filters: Use
mesheryctl filter import [URL | filepath]
to effortlessly import filters. - β
Delete Filters: Remove unwanted filters with
mesheryctl filter delete [filter-name | ID]
. - β
View Filters: Gain insights into your filters using
mesheryctl filter view [filter-name | ID]
. - β
List and Search Filters: Easily navigate filters with
mesheryctl filter list [filter-name | ID]
.
Kanvas Integration
- β Apply WASM Filters: Hierarchically apply filters to your Envoy configurations.
- β Deploy/Undeploy Filters: Streamline the deployment and removal of filters with custom configurations.
- β Enhanced Visibility: View filters within a dedicated panel and seamlessly drop them onto the canvas.
Meshery UI Enhancements
- β Import Filters: Import filters directly via URL or filesystem.
- β Improved Browsing: Browse, search, and view filters in both grid view and table view.
- β Streamlined Lists: Easily list and search filters in grid view or table view.
- β Download Filters: Download filters effortlessly from the UI.
Remote Provider and Meshery Catalog Integration
- β Permanent Storage and Artifact Dispersal: Ensure your filters are securely stored and widely accessible.
- β Catalog Features: Import, clone, download, publish, and unpublish filters within the Meshery Catalog.
- β Enhanced Privacy Controls: Manage user permissions, team ownership, and visibility for your filters.
- β Content Curation: Streamline content curation with an approval flow request queue.
Performance Management Upgrades
In addition to Envoy WASM filter management, weβve also introduced new performance management features:
Meshery Server
- β Performance Profiles: Tailor your performance profiles to match your specific needs.
- β SSL Certificate Support: Benefit from SSL certificate support for Fortio in the server.
- β Performance Analysis Comparison: Compare performance with and without filters.
- β GetNighthawk and Cloud Native Performance Releases: Access the latest releases of GetNighthawk and Cloud Native Performance.
Meshery CLI
- β Performance Profile Flags: Specify additional load generator flags with performance profiles.
Meshery UI
- β Performance Profile Flags: Customize load generator flags directly in the UI.
Service Performance Project
- β Define Performance Profiles: Clearly define your performance profiles.
- β Dashboard Integration: Display test results on the dashboard.
- β Intel Integration: Incorporate Intel design into scheduled workflows for Istio.
- β Consolidated Performance Profiles: Streamline performance profiles on the dashboard.
Meshery offers WebAssembly-based network traffic management filters in Envoy, bringing a new level of flexibility and control to your Istio deployments.
Frequently Asked Questions
Q: Why does Meshery provide and manage WASM filters?
Meshery manages WASM filters for data plane proxies for:
- Agility: in partnership with service mesh control planes, Meshery can dynamically load, configure, and unload filter(s) in running Envoy proxies.
- Maintainability: To extend the functionality we donβt have to change the entire codebase.
- Diversity : WASM filters can be easily compiled with many popular programming languages like C/C++ and Rust.
- Reliability and isolation : WASM filters are deployed into VM and hence they are isolated from the Envoy process. For instance if the WASM filter crashes it will not impact the envoy process.
- Security : The WASM filter uses a well defined API to connect with the host i.e envoy proxy which can be modified only a limited number of connections.
- Speed : It is originally used to speed up large web application
Q: What is Envoy proxy?
An Envoy is a high performance, programmable L3/L4 and L7 proxy that a number of service mesh use as their data plane. See the service mesh landscape for a complete list. Connection and request handling are at the core of Envoyβs focus. Envoyβs has a pluggable filter module that allows the incorporation of WebAssembly filters that provide additional traffic filtering intelligence. Often this includes higher order functions such as access control, transformation, data enrichment, auditing and more.
Q: What is WASM ?
WebAssembly is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++, C# and Rust with a compilation target so that they can run in many different environments, including behind Envoyβs Application Binary Interface to extend Envoy with new capabilities. WASM programs are distributed in an efficient portable binary instruction format and embed into isolated execution environments.
Q: What are the disadvantages of WASM filters to be taken into consideration?
Execution of WASM filters requires system resources. Just as executing the same functionality that your filter provides outside of the WASM virtual machine, resources can include overhead of latency, CPU, and memory. See the Cloud Native Performance project for more detail.
Q: What is the Envoy Proxy WASM SDK?
Envoy proxy runs the WASM filter in a stack-based virtual machine so that the filter memory is isolated from the host environment. The interaction between the embedded host i.e. Envoy proxy and the WASM filter are done via call backs and functions by the Envoy Proxy WASM SDK. The Envoy Proxy WASM SDK is implemented in various programming languages like C++, RUST, AssemblyScript and GO(still experimental)
Q: What is Image Hub ?
Image Hub is a sample application which was first officially demonstrated at DockerCon 2020. This sample application is written to run on consul to explore the WebAssembly (WASM) modules in the Envoy filter. This application is written in the RUST programming language. These modules are used to implement the multi-tenancy or to implement the per user rate limiting in the applications endpoint.
Suggested Reading
- Configuring your Cloud Native Infrastructure and Applications - Learn how to use Meshery Designs effectively
- Creating a Meshery Design - Learn how to create a Meshery design from scratch or from a template.
- Exporting Models - Exporting Meshery Model as an OCI or Compress file
- Importing Designs - Learn how to import your existing designs and your existing infrastructure configurations into Meshery as you to manage, operate, and observe your cloud native infrastructure more effectively.
- Importing Models - Importing Existing Model and CRD-based Infrastructure Configurations into Meshery as Model
- Cloud Native Design Patterns - Meshery applies DRY principle when managing the configuration of cloud native infrastructure .
- Push or Pull a Model Image - Push or pull a model image to or from an OCI-compatible image repository.