Importing Designs
Import your existing designs and existing infrastructure configurations into Meshery. The platform supports a variety of application definition formats, and you can import designs using either the Meshery CLI or the Meshery UI.
Supported Design Definition Formats
Meshery supports the following design definition formats:
Import Designs Using Meshery CLI
Step 1: Install Meshery CLI
Before you can use the Meshery CLI to import a Docker Compose app, you must first install it. You can install Meshery CLI by following the instructions.
Step 2: Import the Design Manifest
Once you have created your Design Definition file, you can use the Meshery CLI to import your Docker Compose app into Meshery. To do this, run the following command:
mesheryctl pattern import -f [file/url] -s [source-type]
This command enable users to import their existing designs from sources as
- Helm Charts
- Kubernetes Manifests
- Docker Compose
Example :
mesheryctl pattern import -f ./SampleDesign.yml -s "Kubernetes Manifest"
Import Designs Using Meshery UI
Step 1: Access the Meshery UI
To import a Docker Compose app into Meshery using the Meshery UI, you must first install Meshery
Step 2: Navigate to the Designs section in the Configuration
Once you have accessed the Meshery UI, navigate to the Design Import page. This page can be accessed by clicking on the โDesignsโ menu item and then selecting โImport Designโ.
Step 3: Upload the Design
On the Design Import page, you can upload your design by select File Type from the options and clicking on the โBrowseโ button and selecting the file from your local machine or uploading in through URL. Once you have selected the file, click on the โImportโ button to import design into Meshery.
When you import an design into Meshery, it will create a Meshery design based on definition. This Meshery design will include all of the services, ports, and other parameters defined in the File.
Once the Meshery design has been created, you can use Meshery to manage, operate and observe your cloud native infrastructure. You can also use Meshery to deploy your Meshery design to any of your connected kubernetes clusters. For more information, see connections
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
- Envoy WASM Filter Management - Meshery provides the ability to manage WASM filters for data plane proxies for agility, maintainability, diversity, reliability and isolation, security, and speed.
- 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.