27 lines
454 B
YAML
27 lines
454 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: mail
|
|
name: mail
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: mail
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: mail
|
|
spec:
|
|
containers:
|
|
- image: bytemark/smtp
|
|
imagePullPolicy: IfNotPresent
|
|
name: mail
|
|
resources: {}
|
|
ports:
|
|
- name: mail
|
|
containerPort: 25
|
|
restartPolicy: Always
|