50 lines
736 B
YAML
50 lines
736 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: unifi
|
||
|
namespace: unifi
|
||
|
spec:
|
||
|
ports:
|
||
|
- protocol: TCP
|
||
|
name: web
|
||
|
port: 8443
|
||
|
selector:
|
||
|
app: unifi
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: unifi-tcp
|
||
|
namespace: unifi
|
||
|
spec:
|
||
|
type: LoadBalancer
|
||
|
ports:
|
||
|
- protocol: TCP
|
||
|
name: comm
|
||
|
port: 8080
|
||
|
- protocol: TCP
|
||
|
name: bandwidth
|
||
|
port: 6789
|
||
|
- protocol: TCP
|
||
|
name: syslog
|
||
|
port: 5514
|
||
|
selector:
|
||
|
app: unifi
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: unifi-udp
|
||
|
namespace: unifi
|
||
|
spec:
|
||
|
type: LoadBalancer
|
||
|
ports:
|
||
|
- protocol: UDP
|
||
|
name: stun
|
||
|
port: 3479
|
||
|
- protocol: UDP
|
||
|
name: discovery
|
||
|
port: 10001
|
||
|
selector:
|
||
|
app: unifi
|