Customizable install with Helm
This Helm chart installs CassKop to create/configure/manage Cassandra
clusters in a Kubernetes Namespace.
It will use a Custom Ressource Definition(CRD): cassandraclusters.db.orange.com
which implements a CassandraCluster
object in Kubernetes.
#
Introduction#
ConfigurationThe following tables lists the configurable parameters of the Cassandra Operator Helm chart and their default values.
Parameter | Description | Default |
---|---|---|
image.repository | Image | orangeopensource/casskop |
image.tag | Image tag | v2.0.1-release |
image.pullPolicy | Image pull policy | Always |
image.imagePullSecrets.enabled | Enable the use of secret for docker image | false |
image.imagePullSecrets.name | Name of the secret to connect to docker registry | - |
createCustomResource | If true, create & deploy the CRD | true |
rbacEnable | If true, create & use RBAC resources | true |
readinessProbe.timeouts.initialDelaySeconds | Specifies timeout before first probe attempt | 4 |
readinessProbe.timeouts.periodSeconds | Specifies probe interval | 10 |
readinessProbe.timeouts.failureThreshold | When a probe fails, after time specified in this field Pod will be marked as Undready | 1 |
resources | Pod resource requests & limits | {requests: {cpu: 10m, memory: 50Mi}, limits: {cpu: 1,memory: 512Mi} |
metricService | deploy service for metrics | false |
debug.enabled | activate DEBUG log level and enable shareProcessNamespace (allowing ephemeral container usage) | false |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
#
Installing the Chart- dry run
- release name
the
-replace
flag allow you to reuse a charts release name
#
Listing deployed charts#
Get status for the helm deployment#
Install another version of the operatorTo install another version of the operator use:
where x.y.z is the version you want.
#
Uninstaling the ChartsIf you want to delete the operator from your Kubernetes cluster, the operator deployment should be deleted.
The command removes all the Kubernetes components associated with the chart and deletes the helm release.
The CRDs created by the chart are not removed by default and should be manually cleaned up (if required)
Manually delete the CRDs:
warning
If you delete the CRDs then it will delete ALL Clusters that has been created using these CRDs!!! Please never delete CRDs without very very good care
#
Troubleshooting#
Install of the CRDBy default, the chart will install the Casskop CRDs if there are not yet installed. If you want to upgrade or downgrade to another charts version you will need
to delete the CRDs BEFORE installing the new chart. If you don't want to install CRDs with the chart using Helm, you can skip this step by adding --skip-crds
as described
in Helm 3 official documentation.