Importing Applications
Importing apps into Meshery as Meshery Apps is a powerful feature that enables you to manage, operate, and observe your cloud native infrastructure more effectively. With this feature, you can easily import your app manifest and store it in the database.
You can import apps into Meshery using either the Meshery CLI or the Meshery UI. We will discuss both methods in detail below.
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 on the Meshery documentation site.
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"
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 the Meshery. You can install Meshery by following the instructions on the Meshery documentation site
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