mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-03 21:14:26 +08:00
added ability to define resource options for the metrics exporter (#238)
This commit is contained in:
parent
9fcd02f67c
commit
76bde40218
2 changed files with 10 additions and 0 deletions
|
@ -175,6 +175,7 @@ spec:
|
|||
initialDelaySeconds: 5
|
||||
failureThreshold: 30
|
||||
periodSeconds: 10
|
||||
resources: {{ toYaml .Values.metrics.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.extraContainers }}
|
||||
{{- tpl .Values.extraContainers $root | nindent 8 }}
|
||||
|
|
|
@ -64,6 +64,15 @@ metrics:
|
|||
maxage 90
|
||||
}
|
||||
|
||||
resources: {}
|
||||
# If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# Tell helm to restart (recreate) pods on every deploy. Setting this to true will inject
|
||||
# `date/deploy-date: <timestamp>` annotation into pod specification for StateFulset. This
|
||||
|
|
Loading…
Add table
Reference in a new issue