webserver-k8s/kustomize/postfix-deployment.yaml

32 lines
600 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: postfix
labels:
app: postfix
spec:
selector:
matchLabels:
app: postfix
template:
metadata:
labels:
app: postfix
tier: smtp
spec:
containers:
- name: postfix
image: git.altarik.fr/quentinlegot/postfix:latest
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 25
name: smtp
- containerPort: 143
name: auth-smtp-tls
- containerPort: 587
name: msa