apiVersion: v1 kind: Service metadata: name: dovecot labels: app: dovecot 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