Introduction

In this tutorial, you will learn how to deploy a WordPress site and a MySQL database with Persistent Volumes using Meshery Playground. Meshery Playground is an interactive and collaborative live cluster environment that simplifies the deployment process and enhances user experience by providing visual tools for managing Kubernetes resources.

NOTE: If this is your first time working with Meshery Playground, consider starting with the Exploring Kubernetes Pods with Meshery Playground tutorial first.

Prerequisites

  • Basic understanding of Kubernetes concepts.
  • Access to the Meshery Playground. If you don't have an account, sign up at Meshery Playground.

Lab Scenario

  • Import the WordPress and MySQL manifest files into Meshery Playground.
  • Create persistent volumes and a secret for the resources using the visual tools provided by Meshery.
  • Deploy these resources on the playground.

In this lab, you will import the WordPress and MySQL manifest files into Meshery Playground. You will visualize these Kubernetes resources and create persistent volumes for them using the visual tools provided by Meshery. Finally, you will deploy these resources on the Playground.

Objective

Learn how to import manifest files, visualize Kubernetes resources, create new resource components, and deploy the application using Meshery Playground.

Steps

Download the Kubernetes Configuration Files

Go ahead and download these yaml files mysql-deployment.yaml and wordpress-deployment.yaml

These YAML files contain the Service definitions, Persistent Volume Claims, and Deployment configurations for the WordPress site and the MySQL database.

Access Meshery Playground

  1. Log in to the Meshery Playground using your credentials. On successful login, you should be at the dashboard. Press the X on the Where do you want to start? popup to close it (if required).
  2. Click Explore in the Cloud Native Playground tile to navigate to Kanvas

NEXT CHAPTER

Introduction

Layer5, the cloud native management company