apiVersion: apps/v1
kind: Deployment
metadata:
  name: udagram-front-end
  labels:
    service: udagram-front-end
spec:
  replicas: 1
  selector:
    matchLabels:
      app: udagram-front-end
  template:
    metadata:
      labels:
        app: udagram-front-end
        service: udagram-front-end
    spec:
      containers:
      - image: markmavromatis/udagram-front-end
        name: udagram-front-end
        imagePullPolicy: Always          
        ports:
        - containerPort: 80
      restartPolicy: Always