From f62e8d1f519f34e5233213ea2fcb4f4fe45582ab Mon Sep 17 00:00:00 2001 From: abearixong Date: Fri, 23 Jan 2026 02:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20Waline=20=E7=9A=84=20Ingre?= =?UTF-8?q?ssRoute=E3=80=81Service=20=E5=92=8C=20Endpoints=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/xiongxiao.me/apps/waline/app.yaml | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 k8s/xiongxiao.me/apps/waline/app.yaml diff --git a/k8s/xiongxiao.me/apps/waline/app.yaml b/k8s/xiongxiao.me/apps/waline/app.yaml new file mode 100644 index 0000000..c5b3268 --- /dev/null +++ b/k8s/xiongxiao.me/apps/waline/app.yaml @@ -0,0 +1,45 @@ +--- +# Waline - waline.xiongxiao.me +apiVersion: traefik.io/v1alpha1 +kind: IngressRoute +metadata: + name: waline-https + namespace: default +spec: + entryPoints: + - websecure + routes: + - match: Host(`waline.xiongxiao.me`) + kind: Rule + services: + - name: waline-external + port: 8360 + tls: + certResolver: letsencrypt + +--- +# Waline 服务 (端口 8360, 本地) +apiVersion: v1 +kind: Service +metadata: + name: waline-external + namespace: default +spec: + type: ClusterIP + ports: + - port: 8360 + targetPort: 8360 + protocol: TCP + name: http +--- +apiVersion: v1 +kind: Endpoints +metadata: + name: waline-external + namespace: default +subsets: +- addresses: + - ip: 121.4.112.18 + ports: + - port: 8360 + name: http