apiVersion: apps/v1
kind: Deployment
metadata:
  name: foodadvisor-backend
spec:
  selector:
    matchLabels:
      app: foodadvisor
      component: backend
  template:
    metadata:
      labels:
        app: foodadvisor
        component: backend
    spec:
      containers:
        - name: foodadvisor-api
          image: programminghero/foodadvisor-api
          ports:
            - containerPort: 1337
