deploy: scale key prd services to two replicas
This commit is contained in:
parent
f337026ae3
commit
835ecd125a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user