Files
homelab/k8s/apps/rustdesk/service.yaml
Ultradesu 00177d347f
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
Adjust Rustdesk certs
2025-07-18 15:22:18 +03:00

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