webserver-k8s/kustomize/postfix-deployment.yaml

32 lines
600 B
YAML
Raw Permalink Normal View History

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"
2023-10-09 18:02:44 +02:00
cpu: "300m"
ports:
- containerPort: 25
name: smtp
- containerPort: 143
name: auth-smtp-tls
- containerPort: 587
name: msa