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”.

Application-Navigation

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.

Import-Application

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