apiVersion: apps/v1
kind: Deployment
metadata:
  name: node-app-green
spec:
  replicas: 3
  selector:
      matchLabels:
        app: node-app
        deployment: green
  template:
    metadata:
      labels:
        app: node-app
        deployment: green
    spec:
      containers:
      - image: node-app:2.0
        name: node-app
        readinessProbe:
          httpGet:
            path: /
            port: 8080
        resources: {}