--- apiVersion: v1 kind: Service metadata: name: stalwart namespace: mail spec: type: ClusterIP selector: app.kubernetes.io/name: stalwart ports: - name: http port: 8080 targetPort: http - name: lmtp port: 24 targetPort: lmtp --- # Client-facing mail ports on the lab network. 443 is here too so the single # internal mail.unkin.net record serves web as well as IMAP/submission. apiVersion: v1 kind: Service metadata: name: stalwart-lb namespace: mail annotations: purelb.io/addresses: 198.18.200.11 purelb.io/service-group: common spec: type: LoadBalancer externalTrafficPolicy: Local selector: app.kubernetes.io/name: stalwart ports: - name: imaps port: 993 targetPort: imaps - name: submissions port: 465 targetPort: submissions - name: submission port: 587 targetPort: submission - name: https port: 443 targetPort: https