This directory contains a Kubernetes chart to deploy a StreamSets Data Collector cluster using a StatefulSet.
- Kubernetes 1.9+
- PV support on the underlying infrastructure
This chart will do the following:
- Deploy a StreamSets Data Collector using a Kubernetes StatefulSet.
To install the chart with the release name my-release
:
$ helm repo add oc https://orchestracities.github.io/charts/
$ helm dependency update
$ helm install --name my-release oc/datacollector
- complete configuration description w.r.t. values.yaml
The following table lists the configurable parameters of the StreamSets Data Collector chart and their default values.
Parameter | Description | Default |
---|---|---|
replicaCount |
Amount of pods to spawn | 1 |
image.name |
The image to pull | streamsets/datacollector |
image.tag |
The version of the image to pull | latest |
image.pullPolicy |
The pull policy | IfNotPresent |
resources |
Any resources you wish to assign to the pod | {} |
persistentVolume.accessModes |
Persistent Volume access modes | ReadWriteOnce |
persistentVolume.annotations |
Annotations for Persistent Volume Claim` | {} |
persistentVolume.size |
Persistent Volume size | 4Gi |
persistentVolume.storageClass |
Persistent Volume Storage Class | default |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml oc/datacollector
Tip: You can use the default values.yaml
To remove the spawned pods you can run a simple helm delete <release-name>
.
Helm will however preserve created persistent volume claims, to also remove them execute the commands below.
$ release=<release-name>
$ helm delete $release
$ kubectl delete pvc -l release=$release