webserver-k8s/kustomize/dovecot-svc.yaml

25 lines
390 B
YAML

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