Adjust Rustdesk config
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
This commit is contained in:
@@ -30,13 +30,10 @@ spec:
|
|||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
command: ["hbbs"]
|
command: ["hbbs"]
|
||||||
args:
|
args:
|
||||||
- "--help"
|
|
||||||
- "--relay-servers"
|
- "--relay-servers"
|
||||||
- "rd.hexor.cy:21117"
|
- "rd.hexor.cy:21117"
|
||||||
- "--port"
|
- "--port"
|
||||||
- "21116"
|
- "21116"
|
||||||
- "--web-port"
|
|
||||||
- "21114"
|
|
||||||
ports:
|
ports:
|
||||||
- name: registry
|
- name: registry
|
||||||
containerPort: 21116
|
containerPort: 21116
|
||||||
@@ -44,9 +41,6 @@ spec:
|
|||||||
- name: nat
|
- name: nat
|
||||||
containerPort: 21115
|
containerPort: 21115
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: web
|
|
||||||
containerPort: 21114
|
|
||||||
protocol: TCP
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: keys
|
- name: keys
|
||||||
mountPath: /root
|
mountPath: /root
|
||||||
|
@@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: rustdesk-web
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
|
||||||
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
|
||||||
spec:
|
|
||||||
ingressClassName: traefik
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- rd.hexor.cy
|
|
||||||
secretName: rustdesk-tls
|
|
||||||
rules:
|
|
||||||
- host: rd.hexor.cy
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: rustdesk-web
|
|
||||||
port:
|
|
||||||
number: 21114
|
|
@@ -20,16 +20,6 @@ spec:
|
|||||||
port: 21116
|
port: 21116
|
||||||
- protocol: UDP
|
- protocol: UDP
|
||||||
port: 21116
|
port: 21116
|
||||||
- protocol: TCP
|
|
||||||
port: 21114
|
|
||||||
# Allow Traefik ingress for web interface
|
|
||||||
- from:
|
|
||||||
- namespaceSelector:
|
|
||||||
matchLabels:
|
|
||||||
name: kube-system
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 21114
|
|
||||||
egress:
|
egress:
|
||||||
# Allow DNS
|
# Allow DNS
|
||||||
- to: []
|
- to: []
|
||||||
|
@@ -19,10 +19,6 @@ spec:
|
|||||||
port: 21115
|
port: 21115
|
||||||
targetPort: 21115
|
targetPort: 21115
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: web
|
|
||||||
port: 21114
|
|
||||||
targetPort: 21114
|
|
||||||
protocol: TCP
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
@@ -59,21 +55,3 @@ spec:
|
|||||||
port: 21117
|
port: 21117
|
||||||
targetPort: 21117
|
targetPort: 21117
|
||||||
protocol: TCP
|
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
|
|
||||||
|
Reference in New Issue
Block a user