From edc981647478477c9ae7c29c0ff6dc5566e8752c Mon Sep 17 00:00:00 2001 From: abearxiong Date: Wed, 21 Jan 2026 16:06:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20root-external=20=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=92=8C=20IngressRoute=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/kevisual.cn/apps/root/app.yaml | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 k8s/kevisual.cn/apps/root/app.yaml diff --git a/k8s/kevisual.cn/apps/root/app.yaml b/k8s/kevisual.cn/apps/root/app.yaml new file mode 100644 index 0000000..b3c4f99 --- /dev/null +++ b/k8s/kevisual.cn/apps/root/app.yaml @@ -0,0 +1,43 @@ +apiVersion: v1 +kind: Service +metadata: + name: root-external + namespace: default +spec: + type: ClusterIP + ports: + - port: 51515 + targetPort: 51515 + protocol: TCP + name: http +--- +apiVersion: v1 +kind: Endpoints +metadata: + name: root-external + namespace: default +subsets: +- addresses: + - ip: "118.196.32.29" + ports: + - name: http + port: 51515 + protocol: TCP +--- +# Kevisual - root.kevisual.cn (支持 WebSocket) +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: root-https + namespace: default +spec: + entryPoints: + - websecure + routes: + - match: Host(`root.kevisual.cn`) + kind: Rule + services: + - name: root-external + port: 51515 + tls: + certResolver: letsencrypt \ No newline at end of file