diff --git a/chart/README.md b/chart/README.md index bd554da29..a9f0227a9 100644 --- a/chart/README.md +++ b/chart/README.md @@ -122,7 +122,7 @@ $ helm install my-release openebs/mayastor | etcd.​autoCompactionMode | AutoCompaction Since etcd keeps an exact history of its keyspace, this history should be periodically compacted to avoid performance degradation and eventual storage space exhaustion. Auto compaction mode. Valid values: "periodic", "revision". - 'periodic' for duration based retention, defaulting to hours if no time unit is provided (e.g. 5m). - 'revision' for revision number based retention. | `"revision"` | | etcd.​autoCompactionRetention | Auto compaction retention length. 0 means disable auto compaction. | `100` | | etcd.​extraEnvVars[0] | Raise alarms when backend size exceeds the given quota. |
{| -| etcd.​localpvScConfig.​basePath | Host path where local etcd data is stored in. | `"/var/local/localpv-hostpath/{{ .Release.Name }}/etcd"` | +| etcd.​localpvScConfig.​basePath | Host path where local etcd data is stored in. | `"/var/local/{{ .Release.Name }}/localpv-hostpath/etcd"` | | etcd.​localpvScConfig.​reclaimPolicy | ReclaimPolicy of etcd's localpv hostpath storage class. | `"Delete"` | | etcd.​localpvScConfig.​volumeBindingMode | VolumeBindingMode of etcd's localpv hostpath storage class. | `"WaitForFirstConsumer"` | | etcd.​persistence.​enabled | If true, use a Persistent Volume Claim. If false, use emptyDir. | `true` | @@ -153,7 +153,7 @@ $ helm install my-release openebs/mayastor | io_engine.​tolerations | Set tolerations, overrides global | `[]` | | localpv-provisioner.​enabled | Enables the openebs dynamic-localpv provisioner. If disabled, modify etcd and loki-stack storage class accordingly. | `true` | | loki-stack.​enabled | Enable loki log collection for our components | `true` | -| loki-stack.​localpvScConfig.​basePath | Host path where local etcd data is stored in. | `"/var/local/localpv-hostpath/{{ .Release.Name }}/loki"` | +| loki-stack.​localpvScConfig.​basePath | Host path where local etcd data is stored in. | `"/var/local/{{ .Release.Name }}/localpv-hostpath/loki"` | | loki-stack.​localpvScConfig.​reclaimPolicy | ReclaimPolicy of loki's localpv hostpath storage class. | `"Delete"` | | loki-stack.​localpvScConfig.​volumeBindingMode | VolumeBindingMode of loki's localpv hostpath storage class. | `"WaitForFirstConsumer"` | | loki-stack.​loki.​enabled | Enable loki installation as part of loki-stack | `true` | diff --git a/chart/templates/mayastor/io/io-engine-daemonset.yaml b/chart/templates/mayastor/io/io-engine-daemonset.yaml index e005309a2..83d999843 100644 --- a/chart/templates/mayastor/io/io-engine-daemonset.yaml +++ b/chart/templates/mayastor/io/io-engine-daemonset.yaml @@ -90,10 +90,10 @@ spec: - "-g$(MY_POD_IP)" - "-N$(MY_NODE_NAME)" - "-Rhttps://{{ .Release.Name }}-agent-core:50051" - - "-y/var/local/io-engine/config.yaml" + - "-y/var/local/{{ .Release.Name }}/io-engine/config.yaml" - "-l{{ include "cpuFlag" . }}" - "-p={{ .Release.Name }}-etcd:{{ .Values.etcd.service.port }}"{{ if .Values.io_engine.target.nvmf.ptpl }} - - "--ptpl-dir=/var/local/io-engine/ptpl/"{{ end }} + - "--ptpl-dir=/var/local/{{ .Release.Name }}/io-engine/ptpl/"{{ end }} - "--api-versions={{ .Values.io_engine.api }}"{{ if .Values.io_engine.target.nvmf.iface }} - "-T={{ .Values.io_engine.target.nvmf.iface }}"{{ end }}{{ if .Values.io_engine.envcontext }} - "--env-context=--{{ .Values.io_engine.envcontext }}"{{ end }}{{ if .Values.io_engine.reactorFreezeDetection.enabled }} @@ -111,7 +111,7 @@ spec: - name: dshm mountPath: /dev/shm - name: configlocation - mountPath: /var/local/io-engine/ + mountPath: /var/local/{{ .Release.Name }}/io-engine/ - name: hugepage mountPath: /dev/hugepages resources: @@ -145,5 +145,5 @@ spec: medium: HugePages - name: configlocation hostPath: - path: /var/local/io-engine/ + path: /var/local/{{ .Release.Name }}/io-engine/ type: DirectoryOrCreate diff --git a/chart/values.yaml b/chart/values.yaml index c8717df62..26e5ac1fb 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -386,7 +386,7 @@ etcd: # Name of etcd's localpv hostpath storage class. name: "mayastor-etcd-localpv" # -- Host path where local etcd data is stored in. - basePath: "/var/local/localpv-hostpath/{{ .Release.Name }}/etcd" + basePath: "/var/local/{{ .Release.Name }}/localpv-hostpath/etcd" # -- ReclaimPolicy of etcd's localpv hostpath storage class. reclaimPolicy: Delete # -- VolumeBindingMode of etcd's localpv hostpath storage class. @@ -486,7 +486,7 @@ loki-stack: # Name of loki's localpv hostpath storage class. name: "mayastor-loki-localpv" # -- Host path where local etcd data is stored in. - basePath: "/var/local/localpv-hostpath/{{ .Release.Name }}/loki" + basePath: "/var/local/{{ .Release.Name }}/localpv-hostpath/loki" # -- ReclaimPolicy of loki's localpv hostpath storage class. reclaimPolicy: Delete # -- VolumeBindingMode of loki's localpv hostpath storage class.
"name":"ETCD_QUOTA_BACKEND_BYTES",
"value":"8589934592"
}