Skip to content

Commit

Permalink
Update values in pxc-db for pmm pxcParams and proxysqlParam
Browse files Browse the repository at this point in the history
  • Loading branch information
tplavcic committed Jan 31, 2024
1 parent 6d5623e commit 0699b2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/pxc-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ The chart can be customized using the following configurable parameters:
| `pmm.serverUser` | Username for accessing PXC database internals | `admin` |
| `pmm.resources.requests` | PMM Container resource requests | `{"memory": "150M", "cpu": "300m"}` |
| `pmm.resources.limits` | PMM Container resource limits | `{}` |
| `pmm.proxysqlParams` | [Additional PMM parameters](https://docs.percona.com/percona-operator-for-mysql/pxc/monitoring.html#specify-additional-pmm-parameters) | `{}` |
| `pmm.pxcParams` | [Additional PMM parameters](https://docs.percona.com/percona-operator-for-mysql/pxc/monitoring.html#specify-additional-pmm-parameters) | `{}` |
| `pmm.pxcParams` | Additional parameters which will be passed to the [pmm-admin add mysql](https://www.percona.com/doc/percona-monitoring-and-management/2.x/setting-up/client/mysql.html?_gl=1*t3eio1*_gcl_au*MTY4MTY4NTU3Ny4xNzA2NzE1MTgx#adding-mysql-service-monitoring) command for `pxc` Pods | `""` |
| `pmm.proxysqlParams` | Additional parameters which will be passed to the [pmm-admin add mysql](https://www.percona.com/doc/percona-monitoring-and-management/2.x/setting-up/client/mysql.html?_gl=1*izdl5l*_gcl_au*MTY4MTY4NTU3Ny4xNzA2NzE1MTgx#adding-mysql-service-monitoring) command for proxysql Pods | `""` |
| |
| `backup.enabled` | Enables backups for PXC cluster | `true` |
| `backup.allowParallel` | Allow taking multiple backups in parallel | `true` |
Expand Down
6 changes: 3 additions & 3 deletions charts/pxc-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -473,12 +473,12 @@ spec:
{{- end }}
serverHost: {{ $pmm.serverHost }}
serverUser: {{ $pmm.serverUser }}
{{- if $pmm.proxysqlParams }}
proxysqlParams: {{ $pmm.proxysqlParams }}
{{- end }}
{{- if $pmm.pxcParams }}
pxcParams: {{ $pmm.pxcParams }}
{{- end }}
{{- if $pmm.proxysqlParams }}
proxysqlParams: {{ $pmm.proxysqlParams }}
{{- end }}
resources:
requests:
{{ tpl ($pmm.resources.requests | toYaml) $ | indent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/pxc-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ pmm:
imagePullSecrets: []
serverHost: monitoring-service
serverUser: admin
# pxcParams: "--disable-tablestats-limit=2000"
# proxysqlParams: "--custom-labels=CUSTOM-LABELS"
resources:
requests:
memory: 150M
Expand Down

0 comments on commit 0699b2e

Please sign in to comment.