﻿# apiVersion is pretty much the version of that resource type
apiVersion: v1
# kind is the resource type (Pod, Service, Ingress, etc)
kind: Pod
# every resource has some metadata
metadata:
  # every resource has a name
  name: my-pod
  # usually you also give it labels
  labels:
    app: email
# the specification for all the details of the
# desired state of the resource is "spec"
spec:
  containers:
  - name: emailapp
    image: nicholasescalona/emailapp:1.0
    imagePullPolicy: Always
    ports:
    - containerPort: 80
    resources:
      requests:
        cpu: 100m
        memory: 128Mi
      limits:
        cpu: 500m
        memory: 512Mi
