Skip to content

Commit

Permalink
feat(unifi): published and cleaned up unifi service ports
Browse files Browse the repository at this point in the history
closes #124
  • Loading branch information
sebiklamar committed Dec 30, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
snoyberg Michael Snoyman
1 parent cf86432 commit a4e08ff
Showing 2 changed files with 34 additions and 21 deletions.
40 changes: 19 additions & 21 deletions k8s/apps/network/unifi-controller/base/deployment-frontend.yaml
Original file line number Diff line number Diff line change
@@ -56,39 +56,37 @@ spec:
cpu: 1000m
memory: 1000Mi
ports:
# required
- name: web-admin
containerPort: 8443
protocol: TCP
# required
- name: speedtest
containerPort: 6789
protocol: TCP
# required
- name: device-comm
containerPort: 8080
protocol: TCP
- name: stun
containerPort: 3478
protocol: UDP
- name: secure-redirect
containerPort: 8843
protocol: TCP
# optional
- name: http-redirect
containerPort: 8880
protocol: TCP
- name: speedtest
containerPort: 6789
# optional
- name: secure-redirect
containerPort: 8843
protocol: TCP
# required
- name: stun
containerPort: 3478
protocol: UDP
# optional
- name: snmp-trap
containerPort: 5514
protocol: UDP
# required
- name: unifi-disc
containerPort: 10001
protocol: UDP
- name: unifi-disc-l2
containerPort: 1900
protocol: UDP
# volumes:
# - /srv/docker-compose/hosts/unifi/data:/config
# ports:
# - 8443:8443
# - 3478:3478/udp
# - 10001:10001/udp
# - 8080:8080
# - 1900:1900/udp #optional
# - 8843:8843 #optional
# - 8880:8880 #optional
# - 6789:6789 #optional
# - 5514:5514/udp #optional
15 changes: 15 additions & 0 deletions k8s/apps/network/unifi-controller/base/svc-frontend.yaml
Original file line number Diff line number Diff line change
@@ -14,3 +14,18 @@ spec:
- name: https-alt
port: 8443
targetPort: web-admin
- name: device-comm
port: 8080
protocol: TCP
- name: stun
port: 3478
protocol: UDP
- name: unifi-disc
port: 10001
protocol: UDP
- name: secure-redirect
port: 8843
protocol: TCP
- name: http-redirect
port: 8880
protocol: TCP

0 comments on commit a4e08ff

Please sign in to comment.