Skip to content

Commit

Permalink
add mongo pmm resources
Browse files Browse the repository at this point in the history
Signed-off-by: drfaust92 <[email protected]>
  • Loading branch information
DrFaust92 committed Nov 1, 2024
1 parent 3760f08 commit 2b79725
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/psmdb-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The chart can be customized using the following configurable parameters:
| `pmm.image.tag` | PMM Container image tag | `2.42.0` |
| `pmm.serverHost` | PMM server related K8S service hostname | `monitoring-service` |
| `pmm.containerSecurityContext` | Set the security context for PMM container | `{}` |
| `pmm.resources` | Set resources for PMM container | `{}` |
| `pmm.mongodParams` | PMM mongod params | `""` |
| |
| `pmm.mongosParams` | PMM mongos params | `""` |
Expand Down
4 changes: 4 additions & 0 deletions charts/psmdb-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ spec:
{{- end }}
{{- if .Values.pmm.mongosParams }}
mongosParams: {{ .Values.pmm.mongosParams }}
{{- end }}
{{- if .Values.pmm.resources }}
resources:
{{ .Values.pmm.resources | toYaml | indent 6 }}
{{- end }}
{{- if .Values.pmm.containerSecurityContext }}
containerSecurityContext:
Expand Down
1 change: 1 addition & 0 deletions charts/psmdb-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ pmm:
serverHost: monitoring-service
# mongodParams: ""
# mongosParams: ""
# resources: {}
# containerSecurityContext: {}

replsets:
Expand Down

0 comments on commit 2b79725

Please sign in to comment.