Files
k8s-docs/k8s/xiongxiao.me/apps/external/external-services.yaml

242 lines
3.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
# 外部服务配置 - Services with Endpoints
# tags: kubernetes, services, external-services, nginx-migration, endpoints
# description: 将外部运行的服务映射为 Kubernetes Services供 Traefik IngressRoute 使用
# title: 外部服务 Kubernetes Service 配置
# createdAt: 2025-11-26
---
# Blinko 服务 (端口 3111, IP: 10.0.32.6)
apiVersion: v1
kind: Service
metadata:
name: blinko-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 3111
targetPort: 3111
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: blinko-external
namespace: default
subsets:
- addresses:
- ip: 10.0.32.6
ports:
- port: 3111
name: http
---
# Kevisual 服务 (端口 3005, 本地)
apiVersion: v1
kind: Service
metadata:
name: kevisual-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 3005
targetPort: 3005
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: kevisual-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 3005
name: http
---
# WWW 服务 (端口 3005, 本地) - 与 kevisual 相同
apiVersion: v1
kind: Service
metadata:
name: www-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 3005
targetPort: 3005
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: www-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 3005
name: http
---
# Immich 服务 (端口 2283, 本地)
apiVersion: v1
kind: Service
metadata:
name: immich-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 2283
targetPort: 2283
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: immich-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 2283
name: http
---
# Cloud 服务 (端口 5212, 本地)
apiVersion: v1
kind: Service
metadata:
name: cloud-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 5212
targetPort: 5212
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: cloud-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 5212
name: http
---
# Docmost 服务 (端口 3011, 本地)
apiVersion: v1
kind: Service
metadata:
name: docmost-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 3011
targetPort: 3011
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: docmost-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 3011
name: http
---
# Drawio 服务 (端口 13000, 本地)
apiVersion: v1
kind: Service
metadata:
name: drawio-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 13000
targetPort: 13000
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: drawio-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 13000
name: http
---
# Minio 服务 (端口 9000, 本地)
apiVersion: v1
kind: Service
metadata:
name: minio-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 9000
targetPort: 9000
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: minio-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 9000
name: http
---
# Webdav 服务 (端口 6060, 本地)
apiVersion: v1
kind: Service
metadata:
name: webdav-external
namespace: default
spec:
type: ClusterIP
ports:
- port: 6060
targetPort: 6060
protocol: TCP
name: http
---
apiVersion: v1
kind: Endpoints
metadata:
name: webdav-external
namespace: default
subsets:
- addresses:
- ip: 10.0.12.6
ports:
- port: 6060
name: http
---