编写core的用于adapter连接的service模板
This commit is contained in:
14
helm-chart/templates/core-service.yaml
Normal file
14
helm-chart/templates/core-service.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user