修改服务名
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user