deploy: scale key prd services to two replicas

This commit is contained in:
tsiji 2026-06-04 13:57:10 +08:00
parent f337026ae3
commit 835ecd125a
3 changed files with 30 additions and 9 deletions

View File

@ -7,15 +7,15 @@ metadata:
namespace: prd
spec:
progressDeadlineSeconds: 600
replicas: 1
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
app: imes-custom-mom-wms
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
@ -100,6 +100,13 @@ spec:
ports:
- containerPort: 5000
protocol: TCP
readinessProbe:
tcpSocket:
port: 5000
initialDelaySeconds: 20
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 12
resources:
limits:
memory: 2Gi

View File

@ -7,15 +7,15 @@ metadata:
namespace: prd
spec:
progressDeadlineSeconds: 600
replicas: 1
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
app: imes-custom-nalinv-int
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
@ -100,6 +100,13 @@ spec:
ports:
- containerPort: 6071
protocol: TCP
readinessProbe:
tcpSocket:
port: 6071
initialDelaySeconds: 20
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 12
resources:
limits:
memory: 4Gi

View File

@ -7,15 +7,15 @@ metadata:
namespace: prd
spec:
progressDeadlineSeconds: 600
replicas: 1
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
app: imes-custom-nalinv-mes
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
@ -104,6 +104,13 @@ spec:
ports:
- containerPort: 6060
protocol: TCP
readinessProbe:
tcpSocket:
port: 6060
initialDelaySeconds: 20
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 12
resources:
limits:
memory: 4Gi