Import Designs

Here we will import the design files in Meshery Playground and learn how to merge designs.
  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.

Figure: Import modal

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

  • Then, click on Import.

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.


Figure: Imported designs on canvas

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

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.

Figure: drag and drop design

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

Figure: merge modal

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

Figure: save design