mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
deploy: provide variable to alter hostpath location for ceph clients
Also update the documentation about the same. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
ea3def0db2
commit
473adf99fc
@ -138,6 +138,7 @@ charts and their default values.
|
|||||||
| `provisionerSocketFile` | The filename of the provisioner socket | `csi-provisioner.sock` |
|
| `provisionerSocketFile` | The filename of the provisioner socket | `csi-provisioner.sock` |
|
||||||
| `pluginSocketFile` | The filename of the plugin socket | `csi.sock` |
|
| `pluginSocketFile` | The filename of the plugin socket | `csi.sock` |
|
||||||
| `kubeletDir` | kubelet working directory | `/var/lib/kubelet` |
|
| `kubeletDir` | kubelet working directory | `/var/lib/kubelet` |
|
||||||
|
| `cephLogDir` | Host path location for ceph client processes logging, ex: rbd-nbd | `/var/log/ceph` |
|
||||||
| `driverName` | Name of the csi-driver | `rbd.csi.ceph.com` |
|
| `driverName` | Name of the csi-driver | `rbd.csi.ceph.com` |
|
||||||
| `configMapName` | Name of the configmap which contains cluster configuration | `ceph-csi-config` |
|
| `configMapName` | Name of the configmap which contains cluster configuration | `ceph-csi-config` |
|
||||||
| `externallyManagedConfigmap` | Specifies the use of an externally provided configmap | `false` |
|
| `externallyManagedConfigmap` | Specifies the use of an externally provided configmap | `false` |
|
||||||
|
@ -173,7 +173,7 @@ spec:
|
|||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: ceph-logdir
|
- name: ceph-logdir
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /var/log/ceph
|
path: {{ .Values.cephLogDir }}
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: host-dev
|
- name: host-dev
|
||||||
hostPath:
|
hostPath:
|
||||||
|
@ -42,7 +42,7 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- pathPrefix: '/lib/modules'
|
- pathPrefix: '/lib/modules'
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- pathPrefix: '/var/log/ceph'
|
- pathPrefix: '{{ .Values.cephLogDir }}'
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- pathPrefix: '{{ .Values.kubeletDir }}'
|
- pathPrefix: '{{ .Values.kubeletDir }}'
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
@ -382,6 +382,8 @@ provisionerSocketFile: csi-provisioner.sock
|
|||||||
pluginSocketFile: csi.sock
|
pluginSocketFile: csi.sock
|
||||||
# kubelet working directory,can be set using `--root-dir` when starting kubelet.
|
# kubelet working directory,can be set using `--root-dir` when starting kubelet.
|
||||||
kubeletDir: /var/lib/kubelet
|
kubeletDir: /var/lib/kubelet
|
||||||
|
# Host path location for ceph client processes logging, ex: rbd-nbd
|
||||||
|
cephLogDir: /var/log/ceph
|
||||||
# Name of the csi-driver
|
# Name of the csi-driver
|
||||||
driverName: rbd.csi.ceph.com
|
driverName: rbd.csi.ceph.com
|
||||||
# Name of the configmap used for state
|
# Name of the configmap used for state
|
||||||
|
Loading…
Reference in New Issue
Block a user