fix: update resource requests and limits for multiple services to optimize performance
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
149d68874d
commit
d2927ce4ba
@ -16,11 +16,11 @@ authentication:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: authentication-service
|
- name: authentication-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ authentication:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: authentication-service
|
- name: authentication-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ centralStorage:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: central-storage-service
|
- name: central-storage-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ centralStorage:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: central-storage-service
|
- name: central-storage-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ chat:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: chat-service
|
- name: chat-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ chat:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: chat-service
|
- name: chat-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ content:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: content-service
|
- name: content-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ content:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: content-service
|
- name: content-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ devsvc:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: devsvc-service
|
- name: devsvc-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ devsvc:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: devsvc-service
|
- name: devsvc-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ freeleaps:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: freeleaps-service
|
- name: freeleaps-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ freeleaps:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: freeleaps-service
|
- name: freeleaps-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ frontend:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: '100m'
|
cpu: '50m'
|
||||||
memory: 128Mi
|
memory: 32Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: '200m'
|
cpu: '100m'
|
||||||
memory: 256Mi
|
memory: 64Mi
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: frontend-service
|
- name: frontend-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ notification:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: notification-service
|
- name: notification-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ notification:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: 200m
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: notification-service
|
- name: notification-service
|
||||||
|
|||||||
@ -16,11 +16,11 @@ payment:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: '50m'
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
cpu: '100m'
|
cpu: '100m'
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
|
||||||
cpu: '200m'
|
|
||||||
memory: 256Mi
|
|
||||||
probes: {}
|
probes: {}
|
||||||
services:
|
services:
|
||||||
- name: payment-service
|
- name: payment-service
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user