k3s部署项目

This commit is contained in:
2026-04-16 09:26:00 +08:00
parent ac9ec66890
commit 2d844645a0
10 changed files with 350 additions and 62 deletions

17
k8s/service.yaml Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: data-engine-service
namespace: default
labels:
app: data-engine
spec:
type: NodePort
selector:
app: data-engine
ports:
- name: http
port: 3001
targetPort: 3001
nodePort: 30301
protocol: TCP