编写core的用于adapter连接的service模板

pull/1198/head
zhangxinhui02 2025-08-19 22:50:48 +08:00
parent 39ef5a79ac
commit 0844d0e467
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-maibot-core
namespace: {{ .Release.Namespace }}
spec:
ports:
- name: adapter-ws
port: 8000
protocol: TCP
targetPort: 8000
selector:
app: {{ .Release.Name }}-maibot-core
type: ClusterIP