You've already forked prometheus-postgres-exporter
fix(deployment): automatically set GOMAXPROCS
This commit is contained in:
@ -227,6 +227,13 @@ tests:
|
||||
cpu: 25m
|
||||
memory: 100MB
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.template.spec.containers[0].env
|
||||
value:
|
||||
- name: GOMAXPROCS
|
||||
valueFrom:
|
||||
resourceFieldRef:
|
||||
resource: limits.cpu
|
||||
- equal:
|
||||
path: spec.template.spec.containers[0].resources
|
||||
value:
|
||||
|
Reference in New Issue
Block a user