2025-07-18 14:47:26 +03:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: rustdesk-hbbs
|
|
|
|
labels:
|
|
|
|
app: rustdesk-hbbs
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: rustdesk-hbbs
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: rustdesk-hbbs
|
|
|
|
spec:
|
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
|
|
|
containers:
|
|
|
|
- name: hbbs
|
|
|
|
image: rustdesk/rustdesk-server:latest
|
|
|
|
imagePullPolicy: Always
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: "128Mi"
|
|
|
|
cpu: "100m"
|
|
|
|
limits:
|
|
|
|
memory: "512Mi"
|
|
|
|
cpu: "500m"
|
|
|
|
command: ["hbbs"]
|
|
|
|
args:
|
2025-07-18 15:22:18 +03:00
|
|
|
- "--relay-servers"
|
|
|
|
- "rd.hexor.cy:21117"
|
|
|
|
- "--port"
|
|
|
|
- "21116"
|
|
|
|
- "--web-port"
|
|
|
|
- "21114"
|
2025-07-18 14:47:26 +03:00
|
|
|
ports:
|
|
|
|
- name: registry
|
|
|
|
containerPort: 21116
|
|
|
|
protocol: TCP
|
2025-07-18 15:22:18 +03:00
|
|
|
- name: nat
|
|
|
|
containerPort: 21115
|
|
|
|
protocol: TCP
|
2025-07-18 14:47:26 +03:00
|
|
|
- name: web
|
2025-07-18 15:22:18 +03:00
|
|
|
containerPort: 21114
|
2025-07-18 14:47:26 +03:00
|
|
|
protocol: TCP
|
|
|
|
volumeMounts:
|
|
|
|
- name: keys
|
|
|
|
mountPath: /root
|
|
|
|
readOnly: true
|
|
|
|
env:
|
|
|
|
- name: RUST_LOG
|
|
|
|
value: "info"
|
|
|
|
volumes:
|
|
|
|
- name: keys
|
|
|
|
secret:
|
|
|
|
secretName: rustdesk-keys
|
|
|
|
items:
|
|
|
|
- key: id_ed25519
|
|
|
|
path: id_ed25519
|
|
|
|
mode: 0600
|
|
|
|
- key: id_ed25519.pub
|
|
|
|
path: id_ed25519.pub
|
|
|
|
mode: 0644
|
|
|
|
|
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: rustdesk-hbbr
|
|
|
|
labels:
|
|
|
|
app: rustdesk-hbbr
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: rustdesk-hbbr
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: rustdesk-hbbr
|
|
|
|
spec:
|
|
|
|
nodeSelector:
|
|
|
|
kubernetes.io/hostname: master.tail2fe2d.ts.net
|
|
|
|
containers:
|
|
|
|
- name: hbbr
|
|
|
|
image: rustdesk/rustdesk-server:latest
|
|
|
|
imagePullPolicy: Always
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: "128Mi"
|
|
|
|
cpu: "100m"
|
|
|
|
limits:
|
|
|
|
memory: "512Mi"
|
|
|
|
cpu: "500m"
|
|
|
|
command: ["hbbr"]
|
|
|
|
args:
|
2025-07-18 15:22:18 +03:00
|
|
|
- "--port"
|
2025-07-18 14:47:26 +03:00
|
|
|
- "21117"
|
|
|
|
ports:
|
|
|
|
- name: relay
|
|
|
|
containerPort: 21117
|
|
|
|
protocol: TCP
|
|
|
|
volumeMounts:
|
|
|
|
- name: keys
|
|
|
|
mountPath: /root
|
|
|
|
readOnly: true
|
|
|
|
env:
|
|
|
|
- name: RUST_LOG
|
|
|
|
value: "info"
|
|
|
|
volumes:
|
|
|
|
- name: keys
|
|
|
|
secret:
|
|
|
|
secretName: rustdesk-keys
|
|
|
|
items:
|
|
|
|
- key: id_ed25519
|
|
|
|
path: id_ed25519
|
|
|
|
mode: 0600
|
|
|
|
- key: id_ed25519.pub
|
|
|
|
path: id_ed25519.pub
|
|
|
|
mode: 0644
|