apiVersion: v1
kind: Pod
metadata:
  name: "hotserver"
  labels:
    app: "hotserver"
spec:
  containers:
  - name: "hotserver"
    image: "wesleywillians/esquenta-k8s-live:latest"
  #   resources:
  #     limits:
  #       cpu: 200m
  #       memory: 500Mi
  #     requests:
  #       cpu: 100m
  #       memory: 200Mi
  #   env:
  #   - name: DB_HOST
  #     valueFrom:
  #       configMapKeyRef:
  #         name: MYAPP
  #         key: DB_HOST
  #   ports:
  #   - containerPort:  80
  #     name:  http
  #   volumeMounts:
  #   - name: localtime
  #     mountPath: /etc/localtime
  # volumes:
  #   - name: localtime
  #     hostPath:
  #       path: /usr/share/zoneinfo/Asia/Shanghai
  # restartPolicy: Always