Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPG-577: pmm.querySource #368

Merged
merged 3 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions charts/pg-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ The chart can be customized using the following configurable parameters:
| `pmm.image.repository` | PMM Container image repository | `percona/pmm-client` |
| `pmm.image.tag` | PMM Container image tag | `2.42.0` |
| `pmm.serverHost` | PMM server related K8S service hostname | `monitoring-service` |
| `pmm.querySource` | PMM querySource, 'pgstatmonitor' or 'pgstatstatemenets'. | `pgstatmonitor` |
| `pmm.resources.requests.memory` | Container resource request for RAM | `200M` |
| `pmm.resources.requests.cpu` | Container resource request for CPU | `500m` |
| |
Expand Down
1 change: 1 addition & 0 deletions charts/pg-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ spec:
image: {{ .Values.pmm.image.repository }}:{{ .Values.pmm.image.tag }}
serverHost: {{ .Values.pmm.serverHost }}
secret: {{ include "pg-database.fullname" . }}-pmm-secret
querySource: {{ .Values.pmm.querySource }}
jvpasinatto marked this conversation as resolved.
Show resolved Hide resolved

backups:
trackLatestRestorableTime: {{ .Values.backups.trackLatestRestorableTime }}
Expand Down
1 change: 1 addition & 0 deletions charts/pg-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ pmm:
# imagePullPolicy: IfNotPresent
secret: cluster1-pmm-secret
serverHost: monitoring-service
querySource: pgstatmonitor
# resources:
# requests:
# memory: 200M
Expand Down
12 changes: 12 additions & 0 deletions charts/pg-operator/crds/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5613,6 +5613,9 @@ spec:
required:
- repos
type: object
trackLatestRestorableTime:
description: Enable tracking latest restorable time
type: boolean
required:
- pgbackrest
type: object
Expand Down Expand Up @@ -14230,6 +14233,12 @@ spec:
- Never
- IfNotPresent
type: string
querySource:
default: pgstatmonitor
enum:
- pgstatmonitor
- pgstatstatements
type: string
resources:
description: Compute resources of a PMM container.
properties:
Expand Down Expand Up @@ -14298,6 +14307,7 @@ spec:
required:
- enabled
- image
- querySource
- secret
- serverHost
type: object
Expand Down Expand Up @@ -33658,6 +33668,8 @@ spec:
type: boolean
pgStatMonitor:
type: boolean
pgStatStatements:
type: boolean
type: object
image:
description: |-
Expand Down
Loading