Skip to content

Commit 4dccd3f

Browse files
krithika369Krithika Sundararajan
authored andcommitted
Fix Postgres persistence values in the chart (#313)
Co-authored-by: Krithika Sundararajan <[email protected]> (cherry picked from commit 2768165)
1 parent bbd2cff commit 4dccd3f

File tree

10 files changed

+25
-21
lines changed

10 files changed

+25
-21
lines changed

infra/charts/turing/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
description: "Turing: ML Experimentation System"
33
name: turing
4-
version: 0.2.16
4+
version: 0.2.17
55
appVersion: v1.0.0

infra/charts/turing/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# turing
22

33
---
4-
![Version: 0.2.16](https://img.shields.io/badge/Version-0.2.16-informational?style=flat-square)
4+
![Version: 0.2.17](https://img.shields.io/badge/Version-0.2.17-informational?style=flat-square)
55
![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square)
66

77
Turing: ML Experimentation System
@@ -77,9 +77,9 @@ The following table lists the configurable parameters of the Turing chart and th
7777
| mlp.extraEnvs | list | computed value | List of extra environment variables to add to MLP API container |
7878
| mlp.postgresql | object | `{"containerPorts":{"postgresql":5432},"nameOverride":"postgresql-mlp"}` | Postgresql configuration to be applied to MLP's postgresql database deployment Reference: https://artifacthub.io/packages/helm/bitnami/postgresql/12.1.9#parameters |
7979
| mlp.postgresql.nameOverride | string | `"postgresql-mlp"` | Name of MLP's Postgresql deployment |
80-
| postgresql | object | `{"auth":{"database":"turing","password":"turing","username":"turing"},"containerPorts":{"postgresql":5432},"image":{"tag":"12.13.0"},"metrics":{"enabled":false,"serviceMonitor":{"enabled":false}},"persistence":{"enabled":true,"size":"10Gi"},"replication":{"applicationName":"turing","enabled":false,"numSynchronousReplicas":2,"password":"repl_password","slaveReplicas":2,"synchronousCommit":"on","user":"repl_user"},"resources":{"requests":{"cpu":"500m","memory":"256Mi"}}}` | Postgresql configuration to be applied to Turing's postgresql database deployment Reference: https://artifacthub.io/packages/helm/bitnami/postgresql/12.1.9#parameters |
80+
| postgresql | object | `{"auth":{"database":"turing","password":"turing","username":"turing"},"containerPorts":{"postgresql":5432},"image":{"tag":"12.13.0"},"metrics":{"enabled":false,"serviceMonitor":{"enabled":false}},"primary":{"persistence":{"enabled":true,"size":"10Gi"}},"replication":{"applicationName":"turing","enabled":false,"numSynchronousReplicas":2,"password":"repl_password","slaveReplicas":2,"synchronousCommit":"on","user":"repl_user"},"resources":{"requests":{"cpu":"500m","memory":"256Mi"}}}` | Postgresql configuration to be applied to Turing's postgresql database deployment Reference: https://artifacthub.io/packages/helm/bitnami/postgresql/12.1.9#parameters |
8181
| postgresql.auth.password | string | `"turing"` | Password for Turing Postgresql database |
82-
| postgresql.persistence.enabled | bool | `true` | Persist Postgresql data in a Persistent Volume Claim |
82+
| postgresql.primary.persistence.enabled | bool | `true` | Persist Postgresql data in a Persistent Volume Claim |
8383
| postgresql.resources | object | `{"requests":{"cpu":"500m","memory":"256Mi"}}` | Resources requests and limits for Turing database. This should be set according to your cluster capacity and service level objectives. Reference: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
8484
| sentry.dsn | string | `""` | Sentry DSN value used by both Turing API and Turing UI |
8585
| tags.db | bool | `true` | Specifies if Postgresql database needs to be installed together with Turing |
19.1 KB
Binary file not shown.
19.1 KB
Binary file not shown.

infra/charts/turing/subcharts/merlin/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ The following table lists the configurable parameters of the Turing chart and th
144144
| postgresql.image.tag | string | `"12.13.0"` | |
145145
| postgresql.metrics.enabled | bool | `false` | |
146146
| postgresql.metrics.serviceMonitor.enabled | bool | `false` | |
147-
| postgresql.persistence.enabled | bool | `true` | |
148-
| postgresql.persistence.size | string | `"10Gi"` | |
147+
| postgresql.primary.persistence.enabled | bool | `true` | |
148+
| postgresql.primary.persistence.size | string | `"10Gi"` | |
149149
| postgresql.replication.applicationName | string | `"merlin"` | |
150150
| postgresql.replication.enabled | bool | `false` | |
151151
| postgresql.replication.numSynchronousReplicas | int | `2` | |

infra/charts/turing/subcharts/merlin/values.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ postgresql:
144144
requests:
145145
memory: 256Mi
146146
cpu: 500m
147-
persistence:
148-
enabled: true
149-
size: 10Gi
147+
primary:
148+
persistence:
149+
enabled: true
150+
size: 10Gi
150151
auth:
151152
username: merlin
152153
database: merlin

infra/charts/turing/subcharts/mlp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ The following table lists the configurable parameters of the Turing chart and th
102102
| postgresql.image.tag | string | `"12.13.0"` | |
103103
| postgresql.metrics.enabled | bool | `false` | |
104104
| postgresql.metrics.serviceMonitor.enabled | bool | `false` | |
105-
| postgresql.persistence.enabled | bool | `true` | Persist Postgresql data in a Persistent Volume Claim |
106-
| postgresql.persistence.size | string | `"10Gi"` | |
105+
| postgresql.primary.persistence.enabled | bool | `true` | Persist Postgresql data in a Persistent Volume Claim |
106+
| postgresql.primary.persistence.size | string | `"10Gi"` | |
107107
| postgresql.replication.applicationName | string | `"mlp"` | Replication Cluster application name. Useful for defining multiple replication policies |
108108
| postgresql.replication.enabled | bool | `false` | |
109109
| postgresql.replication.numSynchronousReplicas | int | `2` | From the number of `slaveReplicas` defined above, set the number of those that will have synchronous replication NOTE: It cannot be > slaveReplicas |

infra/charts/turing/subcharts/mlp/values.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,11 @@ postgresql:
9090
requests:
9191
memory: 256Mi
9292
cpu: 500m
93-
persistence:
94-
# -- Persist Postgresql data in a Persistent Volume Claim
95-
enabled: true
96-
size: 10Gi
93+
primary:
94+
persistence:
95+
# -- Persist Postgresql data in a Persistent Volume Claim
96+
enabled: true
97+
size: 10Gi
9798
auth:
9899
username: mlp
99100
database: mlp

infra/charts/turing/values.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,11 @@ postgresql:
213213
requests:
214214
memory: 256Mi
215215
cpu: 500m
216-
persistence:
217-
# -- Persist Postgresql data in a Persistent Volume Claim
218-
enabled: true
219-
size: 10Gi
216+
primary:
217+
persistence:
218+
# -- Persist Postgresql data in a Persistent Volume Claim
219+
enabled: true
220+
size: 10Gi
220221
auth:
221222
database: turing
222223
username: turing

infra/e2e/turing.values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ turing:
4646
route_name: control
4747

4848
postgresql: &postgresql
49-
persistence:
50-
enabled: false
49+
primary:
50+
persistence:
51+
enabled: false
5152

5253
merlin:
5354
postgresql: *postgresql

0 commit comments

Comments
 (0)