80 lines
1.2 KiB
YAML
80 lines
1.2 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rustdesk-hbbs
|
|
labels:
|
|
app: rustdesk-hbbs
|
|
spec:
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
selector:
|
|
app: rustdesk-hbbs
|
|
ports:
|
|
- name: registry-tcp
|
|
port: 21116
|
|
targetPort: 21116
|
|
protocol: TCP
|
|
- name: nat
|
|
port: 21115
|
|
targetPort: 21115
|
|
protocol: TCP
|
|
- name: web
|
|
port: 21114
|
|
targetPort: 21114
|
|
protocol: TCP
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rustdesk-hbbs-udp
|
|
labels:
|
|
app: rustdesk-hbbs
|
|
spec:
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
selector:
|
|
app: rustdesk-hbbs
|
|
ports:
|
|
- name: registry-udp
|
|
port: 21116
|
|
targetPort: 21116
|
|
protocol: UDP
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rustdesk-hbbr
|
|
labels:
|
|
app: rustdesk-hbbr
|
|
spec:
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
selector:
|
|
app: rustdesk-hbbr
|
|
ports:
|
|
- name: relay
|
|
port: 21117
|
|
targetPort: 21117
|
|
protocol: TCP
|
|
|
|
---
|
|
# ClusterIP service for web interface (used via Ingress)
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: rustdesk-web
|
|
labels:
|
|
app: rustdesk-hbbs
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app: rustdesk-hbbs
|
|
ports:
|
|
- name: web
|
|
port: 21114
|
|
targetPort: 21114
|
|
protocol: TCP
|