apiVersion: apps/v1
kind: Deployment
metadata:
  name: appapi
spec:
  replicas: 1
  selector:
    matchLabels:
      app: appapi
  template:
    metadata:
      labels:
        app: appapi
    spec:
      containers:
        - name: appapi
          image: asergio68/fc3-desafio-2_rest-api:latest
          ports:
            - containerPort: 3000
