|
| 1 | +--- |
| 2 | +title: Ceph-CSI Operator Helm Chart |
| 3 | +--- |
| 4 | +<!--- |
| 5 | +Document is generated by `make generate-helm-docs`. DO NOT EDIT. |
| 6 | +Edit the corresponding *.gotmpl.md file instead |
| 7 | +--> |
| 8 | + |
| 9 | +Installs [ceph-csi-operator](https://github.com/ceph/ceph-csi-operator) to automates the deployment, configuration, and management of [ceph-csi](https://github.com/ceph/ceph-csi) drivers using new Kubernetes APIs defined as a set of Custom Resource Definitions (CRDs). |
| 10 | + |
| 11 | +## Introduction |
| 12 | + |
| 13 | +This chart bootstraps a [ceph-csi-operator](https://github.com/ceph/ceph-csi-operator) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. |
| 14 | + |
| 15 | +## Prerequisites |
| 16 | + |
| 17 | +* Kubernetes 1.32+ |
| 18 | +* Helm 3.x |
| 19 | + |
| 20 | +See the [Helm support matrix](https://helm.sh/docs/topics/version_skew/) for more details. |
| 21 | + |
| 22 | +## Installing |
| 23 | + |
| 24 | +The Ceph-CSI Operator helm chart will install the basic components necessary to install [ceph-csi](https://github.com/ceph/ceph-csi) on Kubernetes cluster. |
| 25 | + |
| 26 | +1. Install the Helm chart |
| 27 | + |
| 28 | +The `helm install` command deploys ceph-csi-operator on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. |
| 29 | + |
| 30 | +ceph-csi-operator currently publishes builds of the ceph-csi operator to tagged versions. |
| 31 | + |
| 32 | +### **Released version** |
| 33 | + |
| 34 | +```console |
| 35 | +helm repo add ceph-csi-operator https://ceph.github.io/ceph-csi-operator-charts |
| 36 | +helm install --create-namespace --namespace ceph-csi-operator-system ceph-csi-operator/operator -f values.yaml |
| 37 | +``` |
| 38 | + |
| 39 | +For example settings, see the next section or [values.yaml](https://github.com/ceph/ceph-csi-operator/tree/main/deploy/charts/ceph-csi-operator/values.yaml) |
| 40 | + |
| 41 | +## Configuration |
| 42 | + |
| 43 | +The following table lists the configurable parameters of the ceph-csi-operator chart and their default values. |
| 44 | + |
| 45 | +| Parameter | Description | Default | |
| 46 | +|-----------|-------------|---------| |
| 47 | +| `cephfsCtrlpluginSa.serviceAccount.annotations` | | `{}` | |
| 48 | +| `cephfsNodepluginSa.serviceAccount.annotations` | | `{}` | |
| 49 | +| `controllerManager.manager.args[0]` | | `"--leader-elect"` | |
| 50 | +| `controllerManager.manager.containerSecurityContext.allowPrivilegeEscalation` | | `false` | |
| 51 | +| `controllerManager.manager.containerSecurityContext.capabilities.drop[0]` | | `"ALL"` | |
| 52 | +| `controllerManager.manager.containerSecurityContext.readOnlyRootFilesystem` | | `true` | |
| 53 | +| `controllerManager.manager.env.csiServiceAccountPrefix` | | `"ceph-csi-operator-"` | |
| 54 | +| `controllerManager.manager.env.watchNamespace` | | `""` | |
| 55 | +| `controllerManager.manager.image.repository` | | `"quay.io/cephcsi/ceph-csi-operator"` | |
| 56 | +| `controllerManager.manager.image.tag` | | `"latest"` | |
| 57 | +| `controllerManager.manager.resources.limits.cpu` | | `"500m"` | |
| 58 | +| `controllerManager.manager.resources.limits.memory` | | `"128Mi"` | |
| 59 | +| `controllerManager.manager.resources.requests.cpu` | | `"10m"` | |
| 60 | +| `controllerManager.manager.resources.requests.memory` | | `"64Mi"` | |
| 61 | +| `controllerManager.podSecurityContext.runAsNonRoot` | | `true` | |
| 62 | +| `controllerManager.replicas` | | `1` | |
| 63 | +| `controllerManager.serviceAccount.annotations` | | `{}` | |
| 64 | +| `kubernetesClusterDomain` | | `"cluster.local"` | |
| 65 | +| `nfsCtrlpluginSa.serviceAccount.annotations` | | `{}` | |
| 66 | +| `nfsNodepluginSa.serviceAccount.annotations` | | `{}` | |
| 67 | +| `rbdCtrlpluginSa.serviceAccount.annotations` | | `{}` | |
| 68 | +| `rbdNodepluginSa.serviceAccount.annotations` | | `{}` | |
| 69 | + |
| 70 | +### **Development Build** |
| 71 | + |
| 72 | +To deploy from a local build from your development environment: |
| 73 | + |
| 74 | +1. Build the cephcsi-operator container image: `make docker-build` |
| 75 | +1. Copy the image to your K8s cluster, such as with the `docker save` then the `docker load` commands |
| 76 | +1. Install the helm chart: |
| 77 | + |
| 78 | +```console |
| 79 | +cd deploy/charts/ceph-csi-operator |
| 80 | +helm install --create-namespace --namespace ceph-csi-operator-system ceph-csi-operator . |
| 81 | +``` |
| 82 | + |
| 83 | +## Uninstalling the Chart |
| 84 | + |
| 85 | +To see the currently installed Rook chart: |
| 86 | + |
| 87 | +```console |
| 88 | +helm ls --namespace ceph-csi-operator-system |
| 89 | +``` |
| 90 | + |
| 91 | +To uninstall/delete the `ceph-csi-operator` deployment: |
| 92 | + |
| 93 | +```console |
| 94 | +helm delete --namespace ceph-csi-operator-system ceph-csi-operator |
| 95 | +``` |
| 96 | + |
| 97 | +The command removes all the Kubernetes components associated with the chart and deletes the release. |
0 commit comments