docs/static/v0.7/guides/configuration-management/importing-designs/index.html
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.
Meshery supports the following design definition formats:
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 design import -f [file/url] -s [source-type]
This command enable users to import their existing designs from sources as
Example :
mesheryctl design import -f ./SampleDesign.yml -s "Kubernetes Manifest"
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