🧱 add CPU and MEMORY limit
This commit is contained in:
+5
-2
@@ -13,7 +13,7 @@ metadata:
|
||||
name: echo-server
|
||||
namespace: echo-server
|
||||
spec:
|
||||
replicas: 5
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: echo-server
|
||||
@@ -37,7 +37,10 @@ spec:
|
||||
secretKeyRef:
|
||||
name: backend-user
|
||||
key: backend-username
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 20m
|
||||
memory: 20Mi
|
||||
volumeMounts:
|
||||
- name: echo-pvc
|
||||
mountPath: /tmp/mssql/data
|
||||
|
||||
Reference in New Issue
Block a user