apiVersion: apps/v1
kind: Deployment
metadata:
  name: dht-backend
  labels:
    app: dht-backend
    tier: backend
spec:
  replicas: 1
  selector:
    matchLabels:
      app: dht-backend
      tier: backend
  template:
    metadata:
      labels:
        app: dht-backend
        tier: backend
    spec:
      containers:
      - name: dht-backend
        image: gcr.io/dht-temperature-238413/dht-backend
        ports:
        - name: http-server
          containerPort: 8080
        env:
        - name: PORT
          value: "8080"
