apiVersion: apps/v1 kind: Deployment metadata: name: nginx-hello namespace: nginx-hello labels: app: nginx-hello spec: replicas: 2 selector: matchLabels: app: nginx-hello template: metadata: labels: app: nginx-hello spec: containers: - name: nginx image: nginx:1.27-alpine ports: - containerPort: 80 name: http resources: requests: cpu: 50m memory: 64Mi limits: cpu: 100m memory: 128Mi