webserver-k8s/kustomize/dovecot-svc.yaml
2023-10-09 16:25:00 +02:00

27 lines
445 B
YAML

apiVersion: v1
kind: Service
metadata:
name: dovecot
labels:
app: dovecot
spec:
ports:
- nodePort: 30024
port: 24
protocol: TCP
targetPort: 24
name: dovecot-lmtp
- nodePort: 30143
port: 143
protocol: TCP
targetPort: 143
name: dovecot-imap
- nodePort: 30993
port: 993
protocol: TCP
targetPort: 993
name: dovecot-imaps
selector:
app: dovecot
tier: imap
type: LoadBalancer