---
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: game2-2048
  name: deployment-2048-ng2
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: app2-2048
  replicas: 2
  template:
    metadata:
      labels:
        app.kubernetes.io/name: app2-2048
    spec:
      containers:
      - image: ACCOUNT_ID.dkr.ecr.AWS_REGION.amazonaws.com/sample-app
        imagePullPolicy: Always
        name: app2-2048
        ports:
        - containerPort: 80
      nodeSelector:
        eks/nodegroup-name:  ng2-mycluster1  
