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