---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: 2048-app
spec:
  replicas: 1
  selector:
    matchLabels:
      app: 2048-app
  strategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: 2048-app
    spec:
      containers:
        - name: 2048-app
          image: registry.digitalocean.com/bl-k8s/2048:initial-build-v1
          ports:
            - name: http
              containerPort: 8000
          env:
            - name: PORT
              value: "8000"
          resources:
            limits:
              cpu: "0.1"
              memory: 100Mi
      imagePullSecrets:
        - name: docker-cfg
