# Day 32 : Launching your Kubernetes Cluster with Deployment

we will continue our kubernetes project from yesterday. If you have not read it please check it from here :[https://hashnode.com/post/cli9h3lys00030al733g0gn4a](https://hashnode.com/post/cli9h3lys00030al733g0gn4a)

we will deploy that app. For that we need to create deploment.yml

```bash
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nodw-app
  labels:
    app: node-app
spec:
  replicas: 5
  selector:
    matchLabels:
      app: node-app
  template:
    metadata:
      labels:
        app: node-app
    spec:
      containers:
      - name: node-app
        image: patelajay745/node-app-new:latest
        ports:
        - containerPort: 3000
```

After creating this file you can deploy using the following command

```bash
kubectl apply -f deployment.yml
```

and your deployment will be created as below.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1685494289000/669494ae-bea9-4dfe-b0a0-ac932092f0b4.png align="center")

you can check your deployment by runinng following command

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1685494350049/3c905c45-a4a4-4d4d-a91a-a5f955f742a8.png align="center")

and you can checkyour running pod by running following command.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1685494407156/698d2ee2-dd5a-44ab-a069-570709d3fa9f.png align="center")

That was it for today's challenge. If you have any questions/suggestions please write in comments.

See you tomorrow for more Kubernetes awesomeness! 👋😄

#Kubernetes #Deployment #DevOps #Containerization #TechJourney
