mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/cassandra] Cassandra commit log mount fixed (#10673)
* Cassandra commit log mount fixed ( if commitStorageClass replaced with commitLogMountPath), few lines added to the readme. Comment added on default values Signed-off-by: Sergey Matvienko <smatvienko@thingsboard.io> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> Signed-off-by: Sergey Matvienko <smatvienko@thingsboard.io> * Added commitLogsize and commitLogMountPath to the readme Signed-off-by: Sergey Matvienko <smatvienko@thingsboard.io> * Uncomment commitLogsize and commitLogMountPath in values for Cassandra Signed-off-by: Sergey Matvienko <smatvienko@thingsboard.io> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * bump Cassandra chart version: 9.2.4 Signed-off-by: Sergey Matvienko <smatvienko@thingsboard.io> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
co-authored by
Bitnami Containers
parent
ac98b3c445
commit
d3f0826af9
@@ -23,4 +23,4 @@ name: cassandra
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-cassandra
|
||||
- http://cassandra.apache.org
|
||||
version: 9.2.3
|
||||
version: 9.2.4
|
||||
|
||||
+14
-12
@@ -83,7 +83,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -------------------- |
|
||||
| `image.registry` | Cassandra image registry | `docker.io` |
|
||||
| `image.repository` | Cassandra image repository | `bitnami/cassandra` |
|
||||
| `image.tag` | Cassandra image tag (immutable tags are recommended) | `4.0.4-debian-10-r3` |
|
||||
| `image.tag` | Cassandra image tag (immutable tags are recommended) | `4.0.4-debian-11-r0` |
|
||||
| `image.pullPolicy` | image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Cassandra image pull secrets | `[]` |
|
||||
| `image.debug` | Enable image debug mode | `false` |
|
||||
@@ -212,15 +212,17 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
|
||||
### Persistence parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| -------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------- |
|
||||
| `persistence.enabled` | Enable Cassandra data persistence using PVC, use a Persistent Volume Claim, If false, use emptyDir | `true` |
|
||||
| `persistence.storageClass` | PVC Storage Class for Cassandra data volume | `""` |
|
||||
| `persistence.commitStorageClass` | PVC Storage Class for Cassandra Commit Log volume | `""` |
|
||||
| `persistence.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `persistence.accessModes` | Persistent Volume Access Mode | `["ReadWriteOnce"]` |
|
||||
| `persistence.size` | PVC Storage Request for Cassandra data volume | `8Gi` |
|
||||
| `persistence.mountPath` | The path the data volume will be mounted at | `/bitnami/cassandra` |
|
||||
| Name | Description | Value |
|
||||
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
|
||||
| `persistence.enabled` | Enable Cassandra data persistence using PVC, use a Persistent Volume Claim, If false, use emptyDir | `true` |
|
||||
| `persistence.storageClass` | PVC Storage Class for Cassandra data volume | `""` |
|
||||
| `persistence.commitStorageClass` | PVC Storage Class for Cassandra Commit Log volume | `""` |
|
||||
| `persistence.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `persistence.accessModes` | Persistent Volume Access Mode | `["ReadWriteOnce"]` |
|
||||
| `persistence.size` | PVC Storage Request for Cassandra data volume | `8Gi` |
|
||||
| `persistence.commitLogsize` | PVC Storage Request for Cassandra commit log volume. Unset by default | `2Gi` |
|
||||
| `persistence.mountPath` | The path the data volume will be mounted at | `/bitnami/cassandra` |
|
||||
| `persistence.commitLogMountPath` | The path the commit log volume will be mounted at. Unset by default. Set it to '/bitnami/cassandra/commitlog' to enable a separate commit log volume | `""` |
|
||||
|
||||
|
||||
### Volume Permissions parameters
|
||||
@@ -230,7 +232,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `volumePermissions.enabled` | Enable init container that changes the owner and group of the persistent volume | `false` |
|
||||
| `volumePermissions.image.registry` | Init container volume | `docker.io` |
|
||||
| `volumePermissions.image.repository` | Init container volume | `bitnami/bitnami-shell` |
|
||||
| `volumePermissions.image.tag` | Init container volume | `10-debian-10-r431` |
|
||||
| `volumePermissions.image.tag` | Init container volume | `11-debian-11-r0` |
|
||||
| `volumePermissions.image.pullPolicy` | Init container volume | `IfNotPresent` |
|
||||
| `volumePermissions.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `volumePermissions.resources.limits` | The resources limits for the container | `{}` |
|
||||
@@ -245,7 +247,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image.registry` | Cassandra exporter image registry | `docker.io` |
|
||||
| `metrics.image.repository` | Cassandra exporter image name | `bitnami/cassandra-exporter` |
|
||||
| `metrics.image.tag` | Cassandra exporter image tag | `2.3.8-debian-10-r54` |
|
||||
| `metrics.image.tag` | Cassandra exporter image tag | `2.3.8-debian-11-r0` |
|
||||
| `metrics.image.pullPolicy` | image pull policy | `IfNotPresent` |
|
||||
| `metrics.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `metrics.resources.limits` | The resources limits for the container | `{}` |
|
||||
|
||||
@@ -95,7 +95,7 @@ spec:
|
||||
xargs chown -R {{ .Values.containerSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.commitStorageClass }}
|
||||
{{- if .Values.persistence.commitLogMountPath }}
|
||||
- /bin/sh
|
||||
- -cx
|
||||
- |
|
||||
@@ -426,7 +426,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: {{ .Values.persistence.mountPath }}
|
||||
{{- if .Values.persistence.commitStorageClass }}
|
||||
{{- if .Values.persistence.commitLogMountPath }}
|
||||
- name: commitlog
|
||||
mountPath: {{ .Values.persistence.commitLogMountPath }}
|
||||
{{- end }}
|
||||
|
||||
@@ -558,15 +558,16 @@ persistence:
|
||||
## @param persistence.size PVC Storage Request for Cassandra data volume
|
||||
##
|
||||
size: 8Gi
|
||||
## @skip persistence.commitLogsize PVC Storage Request for Cassandra commit log volume
|
||||
## @param persistence.commitLogsize PVC Storage Request for Cassandra commit log volume. Unset by default
|
||||
##
|
||||
# commitLogsize: 2Gi
|
||||
commitLogsize: 2Gi
|
||||
## @param persistence.mountPath The path the data volume will be mounted at
|
||||
##
|
||||
mountPath: /bitnami/cassandra
|
||||
## @skip persistence.commitLogMountPath The path the commit log volume will be mounted at
|
||||
## @param persistence.commitLogMountPath The path the commit log volume will be mounted at. Unset by default. Set it to '/bitnami/cassandra/commitlog' to enable a separate commit log volume
|
||||
##
|
||||
# commitLogMountPath: /bitnami/cassandra/commitlog
|
||||
commitLogMountPath: ""
|
||||
|
||||
## @section Volume Permissions parameters
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user