content/beginner/115_sg-per-pod/deployments.files/green-pod.yaml [17:28]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    spec:
      affinity:
       nodeAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          nodeSelectorTerms:
          - matchExpressions:
            - key: "vpc.amazonaws.com/has-trunk-attached"
              operator: In
              values:
                - "true"
      containers:
      - image: fmedery/app:latest
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



content/beginner/115_sg-per-pod/deployments.files/red-pod.yaml [17:28]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    spec:
      affinity:
       nodeAffinity:
        requiredDuringSchedulingIgnoredDuringExecution:
          nodeSelectorTerms:
          - matchExpressions:
            - key: "vpc.amazonaws.com/has-trunk-attached"
              operator: In
              values:
                - "true"
      containers:
      - image: fmedery/app:latest
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



