Importing Applications
Import your existing application definitions and existing infrastructure configurations into Meshery. The platform supports a variety of application definition formats, and you can import apps using either the Meshery CLI or the Meshery UI.
Supported Application Definition Formats
Meshery supports the following application definition formats:
Import Apps 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 App Manifest
Once you have created your App Definition file, you can use the Meshery CLI to import your Docker Compose app into Meshery. To do this, run the following command:
mesheryctl app import -f [file/url] -s [source-type]
This command enable users to import their existing applications from sources as
- Helm Charts
- Kubernetes Manifests
- Docker Compose
Example :
mesheryctl app import -f ./SampleApplication.yml -s "Kubernetes Manifest"
Import Apps 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 Application section in the Configuration
Once you have accessed the Meshery UI, navigate to the App Import page. This page can be accessed by clicking on the “Applications” menu item and then selecting “Import Application”.
Step 3: Upload the Application
On the App Import page, you can upload your application 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 app into Meshery.
When you import an app into Meshery, it will create a Meshery App based on definition. This Meshery App will include all of the services, ports, and other parameters defined in the File.
Once the Meshery App 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 App 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.
- 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.
- 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.