Skip to content
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
2 changes: 1 addition & 1 deletion charts/psmdb-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: "1.22.0"
description: A Helm chart for installing Percona Server MongoDB Cluster Databases using the PSMDB Operator.
name: psmdb-db
home: https://www.percona.com/doc/kubernetes-operator-for-psmongodb/index.html
version: 1.22.0
version: 1.22.1
maintainers:
- name: nmarukovich
email: [email protected]
Expand Down
16 changes: 8 additions & 8 deletions charts/psmdb-db/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ The chart can be customized using the following configurable parameters:
| `crVersion` | CR Cluster Manifest version | `1.22.0` |
| `pause` | Stop PSMDB Database safely | `false` |
| `unmanaged` | Start cluster and don't manage it (cross cluster replication) | `false` |
| `enableVolumeExpansion` | **Deprecated.** Use `storageAutoscaling.enableVolumeScaling` instead. Allows to resize `PersistentVolumeClaim`s by changing `.volumeSpec.persistentVolumeClaim.resources` field | `false` |
| `enableExternalVolumeAutoscaling` | **Deprecated.** Use `storageAutoscaling.enableExternalAutoscaling` instead. Suppress storage discrepancy error if external volume autoscaling is enabled | `false` |
| `enableVolumeExpansion` | **Deprecated.** Use `storageScaling.enableVolumeScaling` instead. Allows to resize `PersistentVolumeClaim`s by changing `.volumeSpec.persistentVolumeClaim.resources` field | `false` |
| `enableExternalVolumeAutoscaling` | **Deprecated.** Use `storageScaling.enableExternalAutoscaling` instead. Suppress storage discrepancy error if external volume autoscaling is enabled | `false` |
| `unsafeFlags.tls` | Allows users from configuring a cluster without TLS/SSL certificates | `false` |
| `unsafeFlags.replsetSize` | Allows users from configuring a cluster with unsafe parameters: starting it with less than 3 replica set instances or with an even number of replica set instances without additional arbiter | `false` |
| `unsafeFlags.mongosSize` | Allows users from configuring a sharded cluster with less than 3 config server Pods or less than 2 mongos Pods | `false` |
Expand All @@ -52,12 +52,12 @@ The chart can be customized using the following configurable parameters:
| `upgradeOptions.apply` | PSMDB image to apply from version service - recommended, latest, actual version like 4.4.2-4 | `disabled` |
| `upgradeOptions.schedule` | Cron formatted time to execute the update | `"0 2 * * *"` |
| `upgradeOptions.setFCV` | Set feature compatibility version on major upgrade | `false` |
| `storageAutoscaling.enableVolumeScaling` | Allows to resize `PersistentVolumeClaim`s by changing `.volumeSpec.persistentVolumeClaim.resources` field | `false` |
| `storageAutoscaling.enableExternalAutoscaling` | Suppress storage discrepancy error if external volume autoscaling is enabled | `false` |
| `storageAutoscaling.autoscaling.enabled` | Enable automatic storage expansion for all replica sets | `false` |
| `storageAutoscaling.autoscaling.triggerThresholdPercent` | Percentage of disk usage that triggers automatic storage expansion (50-95) | `80` |
| `storageAutoscaling.autoscaling.growthStep` | Amount to add to the storage when the threshold is exceeded (e.g., "2Gi") | `"2Gi"` |
| `storageAutoscaling.autoscaling.maxSize` | Maximum size for PVCs (e.g., "100Gi"). If set, autoscaling will not increase storage beyond this limit | `""` |
| `storageScaling.enableVolumeScaling` | Allows to resize `PersistentVolumeClaim`s by changing `.volumeSpec.persistentVolumeClaim.resources` field | `false` |
| `storageScaling.enableExternalAutoscaling` | Suppress storage discrepancy error if external volume autoscaling is enabled | `false` |
| `storageScaling.autoscaling.enabled` | Enable automatic storage expansion for all replica sets | `false` |
| `storageScaling.autoscaling.triggerThresholdPercent` | Percentage of disk usage that triggers automatic storage expansion (50-95) | `80` |
| `storageScaling.autoscaling.growthStep` | Amount to add to the storage when the threshold is exceeded (e.g., "2Gi") | `"2Gi"` |
| `storageScaling.autoscaling.maxSize` | Maximum size for PVCs (e.g., "100Gi"). If set, autoscaling will not increase storage beyond this limit | `""` |
| `finalizers:percona.com/delete-psmdb-pvc` | Set this if you want to delete database persistent volumes on cluster deletion | `[]` |
| `finalizers:percona.com/delete-psmdb-pods-in-order` | Set this if you want to delete PSMDB pods in order (primary last) | `[]` |
| `finalizers:percona.com/delete-pitr-chunks` | Set this if you want to delete all pitr chunks on cluster deletion | `[]` |
Expand Down
28 changes: 14 additions & 14 deletions charts/psmdb-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,25 +101,25 @@ spec:
schedule: {{ .Values.upgradeOptions.schedule }}
setFCV: {{ .Values.upgradeOptions.setFCV }}
{{- end }}
{{- if .Values.storageAutoscaling }}
storageAutoscaling:
{{- if hasKey .Values.storageAutoscaling "enableVolumeScaling" }}
enableVolumeScaling: {{ .Values.storageAutoscaling.enableVolumeScaling }}
{{- if .Values.storageScaling }}
storageScaling:
{{- if hasKey .Values.storageScaling "enableVolumeScaling" }}
enableVolumeScaling: {{ .Values.storageScaling.enableVolumeScaling }}
{{- end }}
{{- if hasKey .Values.storageAutoscaling "enableExternalAutoscaling" }}
enableExternalAutoscaling: {{ .Values.storageAutoscaling.enableExternalAutoscaling }}
{{- if hasKey .Values.storageScaling "enableExternalAutoscaling" }}
enableExternalAutoscaling: {{ .Values.storageScaling.enableExternalAutoscaling }}
{{- end }}
{{- if .Values.storageAutoscaling.autoscaling }}
{{- if .Values.storageScaling.autoscaling }}
autoscaling:
enabled: {{ .Values.storageAutoscaling.autoscaling.enabled }}
{{- if .Values.storageAutoscaling.autoscaling.triggerThresholdPercent }}
triggerThresholdPercent: {{ .Values.storageAutoscaling.autoscaling.triggerThresholdPercent }}
enabled: {{ .Values.storageScaling.autoscaling.enabled }}
{{- if .Values.storageScaling.autoscaling.triggerThresholdPercent }}
triggerThresholdPercent: {{ .Values.storageScaling.autoscaling.triggerThresholdPercent }}
{{- end }}
{{- if .Values.storageAutoscaling.autoscaling.growthStep }}
growthStep: {{ .Values.storageAutoscaling.autoscaling.growthStep }}
{{- if .Values.storageScaling.autoscaling.growthStep }}
growthStep: {{ .Values.storageScaling.autoscaling.growthStep }}
{{- end }}
{{- if .Values.storageAutoscaling.autoscaling.maxSize }}
maxSize: {{ .Values.storageAutoscaling.autoscaling.maxSize }}
{{- if .Values.storageScaling.autoscaling.maxSize }}
maxSize: {{ .Values.storageScaling.autoscaling.maxSize }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/psmdb-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ upgradeOptions:
schedule: "0 2 * * *"
setFCV: false

# storageAutoscaling:
# storageScaling:
# enableVolumeScaling: false
# enableExternalAutoscaling: false
# autoscaling:
Expand Down