修改服务名

This commit is contained in:
2026-04-22 09:39:05 +08:00
parent 88e46d7877
commit 222815a12a
5 changed files with 19 additions and 20 deletions

View File

@@ -20,7 +20,7 @@ spec:
image: data-engine:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3001
- containerPort: 3002
protocol: TCP
name: http
env:
@@ -41,20 +41,20 @@ spec:
cpu: "1000m"
livenessProbe:
tcpSocket:
port: 3001
port: 3002
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: 3001
port: 3002
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 3
volumes:
- name: config-volume
configMap:
name: report-engine-config
name: data-engine-config
- name: log-volume
emptyDir: {}
restartPolicy: Always