Write The Deployment
Part of the Introduction to Kubernetes section of Coddy's Terminal journey. Lesson 39 of 45.
Challenge
EasyStart the shop. Open deployment.yaml from the file tree and complete it: 2 replicas, the template label app: shop so it matches the selector, and the image nginx:1.26. Save it, apply it, then list the Pods to see both replicas Running.
Try it yourself
Terminal
kubectl get nodesAll lessons in Introduction to Kubernetes
4Deployments
Creating A DeploymentScalingDeployments From ManifestsUpdating ImagesRolling BackRecap - Deployment Manager10Web Shop Project
Project OverviewWrite The DeploymentPractice on your own: Terminal playground