---
kind: Service
apiVersion: v1
metadata:
  name: controller
  namespace: unifi
  labels:
    app: unifi-controller
spec:
  selector:
    app: unifi-controller
  type: NodePort
  ports:
    - targetPort: https
      port: 443
      name: https
    - targetPort: stat
      port: 9130
      name: stat
    - targetPort: inform
      port: 8080
      name: inform
    - targetPort: 8081
      port: 8081
      name: unifi-8081
    - targetPort: 8843
      port: 8843
      name: unifi-8843
    - targetPort: 8880
      port: 8880
      name: unifi-8880
    - targetPort: 6789
      port: 6789
      name: unifi-6789
