Import Design Files and Merge

  1. In the left sidebar, click on the upward arrow symbol (import icon) to import the designs into Meshery.
  2. In the modal that appears:
    • Enter a name for your design in the "Design File Name" field (e.g. mysql-deployment).
    • Select Kubernetes Manifest from the "Design Type" dropdown menu.

Blog content image

Figure: Import modal

  • Choose File Upload for the upload method, and select the file you just downloaded.

  • Then, click on Import.


    Blog content image

    Figure: Import mysql-deployment

  1. Under the "Designs" tab, you will see the successfully imported mysql-deployment design.

    Clicking on the names of the designs on the Designs tab displays the visual representations of the various Kubernetes resources and their relationships on the canvas.


    Blog content image

    Figure: Imported designs on canvas

  2. Now, follow the same steps to import the wordpress-deployment file.


Blog content image

Figure: wordpress-deployment

Merging the Designs

Next, you will combine the WordPress and MySQL designs into a single design file. By merging these designs, you can manage and deploy both resources together.

To merge the MySQL deployment design with the WordPress deployment design:

  1. Click and drag the mysql-deployment design from the left panel and drop it onto the design canvas of the wordpress-deployment.

Blog content image

Figure: drag and drop design

  1. This action will open a merge modal asking if you want to merge the design, Click on Merge.

Blog content image

Figure: merge modal

  1. Click on Save As and enter wordpress-mysql-deployment as the new file name.

Blog content image

Figure: save design

NEXT CHAPTER

Introduction

Layer5, the cloud native management company