apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    service: reverseproxy
  name: reverseproxy
spec:
  replicas: 1
  selector:
    matchLabels:
      app: reverseproxy
  template:
    metadata:
      labels:
        app: reverseproxy
    spec:
      containers:
      - image: ismaelbernal83/udagram-reverseproxy:v2
        name: reverseproxy
        imagePullPolicy: Always
        ports:
        - containerPort: 8080