kind: Deployment
apiVersion: apps/v1
metadata:
 name: nginx-dp
 namespace: my-namespace
spec:
 selector:
   matchLabels:
     app: nginx
 replicas: 5
 template:
   metadata:
     labels:
       app: nginx
   spec:
     containers:
     - name: nginx
       image: nginx:alpine
       resources:
         requests:
           memory: 20Mi
           cpu: "0.25"
         limits:
           memory: 40Mi  
           cpu: "0.25"

