webserver-k8s/kustomize/dovecot-svc.yaml

16 lines
231 B
YAML

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