fix: update cAdvisor housekeeping interval and optimize resource requests and limits for Gitea components
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
98188defd6
commit
3f2c07c0e1
@ -62,8 +62,7 @@ spec:
|
||||
automountServiceAccountToken: false
|
||||
containers:
|
||||
- args:
|
||||
- --housekeeping_interval=10s
|
||||
- --max_housekeeping_interval=15s
|
||||
- --housekeeping_interval=30s
|
||||
- --event_storage_event_limit=default=0
|
||||
- --event_storage_age_limit=default=0
|
||||
- --enable_metrics=app,cpu,disk,diskIO,memory,network,process
|
||||
@ -78,11 +77,11 @@ spec:
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: 800m
|
||||
memory: 2000Mi
|
||||
requests:
|
||||
cpu: 400m
|
||||
memory: 400Mi
|
||||
memory: 700Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 200Mi
|
||||
volumeMounts:
|
||||
- mountPath: /rootfs
|
||||
name: rootfs
|
||||
@ -165,6 +164,7 @@ spec:
|
||||
- action: labeldrop
|
||||
regex: container_label_io_kubernetes_pod_namespace
|
||||
port: cadvisor
|
||||
interval: 30s
|
||||
relabelings:
|
||||
- sourceLabels:
|
||||
- __meta_kubernetes_pod_node_name
|
||||
|
||||
@ -667,10 +667,24 @@ postgresql-ha:
|
||||
repmgrPassword: WGZ47gbUTLvo
|
||||
postgresPassword: X9H2*9M2ZWYmuZ
|
||||
password: bhYmZ3ivfD@udWc@8jrB4@
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 512Mi
|
||||
pgpool:
|
||||
pdb:
|
||||
create: false
|
||||
adminPassword: Rk(*4vc%wFVu5>C|
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 256Mi
|
||||
service:
|
||||
ports:
|
||||
postgresql: 5432
|
||||
|
||||
Loading…
Reference in New Issue
Block a user