raise some CPU limits to reduce CPU throttling
This commit is contained in:
parent
101c362036
commit
7bcdf2ff96
5 changed files with 28 additions and 0 deletions
|
@ -3,6 +3,7 @@ kind: postgresql
|
|||
metadata:
|
||||
name: keycloak-database
|
||||
spec:
|
||||
spiloFSGroup: 103 # https://github.com/zalando/postgres-operator/issues/988
|
||||
teamId: keycloak
|
||||
volume:
|
||||
size: 1Gi
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
- op: replace
|
||||
path: /spec/template/spec/containers/0/resources/limits/cpu
|
||||
value: 200m
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/1/resources/limits/cpu
|
||||
value: 200m
|
||||
- op: replace
|
||||
path: /spec/template/spec/containers/2/resources/limits/cpu
|
||||
value: 200m
|
|
@ -0,0 +1,3 @@
|
|||
- op: replace
|
||||
path: /spec/template/spec/containers/2/resources/limits/cpu
|
||||
value: 500m
|
|
@ -47,6 +47,18 @@ patches:
|
|||
target:
|
||||
kind: Deployment
|
||||
name: prometheus-operator
|
||||
- path: blackbox-exporter-patches.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: blackbox-exporter
|
||||
- path: node-exporter-ds-patches.yaml
|
||||
target:
|
||||
kind: DaemonSet
|
||||
name: node-exporter
|
||||
- path: kube-state-metrics-deployment-patches.yaml
|
||||
target:
|
||||
kind: Deployment
|
||||
name: kube-state-metrics
|
||||
secretGenerator:
|
||||
- name: grafana-config
|
||||
namespace: monitoring
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
- op: replace
|
||||
path: /spec/template/spec/containers/1/resources/limits/cpu
|
||||
value: 250m
|
Loading…
Reference in a new issue