docs/static/v0.9/guides/tutorials/kubernetes/kubernetes-deployments/index.html
In this tutorial, we’ll learn about Kubernetes Deployments. Using Meshery Playground, an interactive live environment, we’ll perform hands-on exercises to gain practical experience in deploying, managing, and understanding a Kubernetes Deployment without writing any YAML.
NOTE: If this is your first time working with Meshery Playground, consider starting with the Exploring Kubernetes Pods with Meshery Playground tutorial first.
Launch a sample app in a Kubernetes cluster using Deployments.
Learn how to create, manage, and explore Kubernetes Deployments within the context of a microservices architecture.
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).
Click Kanvas from the left menu to navigate to the Kanvas design page.
NOTE: Kanvas is still in beta.
tutorial:deployment. tutorial:deployment. meshery/meshery-milestone:latest and Name to meshery-milestone. In the next set of steps we will validate the design and deploying it.
To validate the design, click Actions and then Validate from the top menu.
To deploy, click Actions and then Deploy to load the deployment workflow. The first step is design validation which should already be marked as done. Click Next.
In the following step, select the Deployment Targets where you want to deploy this. When done click Next.
In the third step, a Dry Run is performed. Fix any errors displayed here.
Finally, click Deploy in the next step. You may choose to open the design in Operate mode after this step to explore the resources by checking the Open in Operator checkbox.
Click Finish to close the workflow.
You should see a few alerts on the bottom right about the deployment.
To view and perform operations on the resources deployed, i.e. the Deployment in this exmaple, we will use the Operate functionality of Kanvas. You can open the design in Operate mode during the Deploy workflow or later by click the Operate tab. It will load the deployed resources in Operate view similar to the screenshot below.
You can click on any of the resources to view various details and actions applicable to them. For example, click on the Deployment i.e. deployment-bl in this case (shown with a green border in the image below), to view deployment details such as Age, Kind, Pods, Replicas, Namespace etc.
Take some time to explore other resources such as Pod, Container etc.
To delete the deployment, click Actions and select Undeploy.
Follow the Undeploy workflow (similar to the Deploy workflow) and click Undeploy in the Finalize Deployment step.
Congratulations! You’ve successfully completed the lab on Exploring Kubernetes Deployments with Meshery Playground.
Continue exploring more scenarios in the Meshery Playground to enhance your skills.