cerebro
A Helm chart for Cerebro - a web admin tool that replaces Kopf.
About this chart
Cerebro
Cerebro is an open source (MIT License) elasticsearch web admin tool built using Scala, Play Framework, AngularJS and Bootstrap.
Introduction
This chart deploys Cerebro to your cluster via a Deployment and Service. Optionally you can also enable ingress.
Prerequisites
- Kubernetes 1.9+
Installing the Chart
To install the chart with the release name my-release, run:
$ helm install --name my-release <helm-repo>/cerebro
$ helm install --name my-release stable/cerebro After a few seconds, you should see service statuses being written to the configured output.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the cerebro chart and their default values.
| Parameter | Description | Default |
|---|---|---|
replicaCount | Number of replicas | 1 |
image.repository | The image to run | lmenezes/cerebro |
image.tag | The image tag to pull | 0.8.3 |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify image pull secrets | nil (does not add image pull secrets to deployed pods) |
init.image.repository | The image to run | docker.io/busybox |
init.image.tag | The image tag to pull | musl |
init.image.pullPolicy | Image pull policy | IfNotPresent |
deployment.annotations | Annotations for deployment | {} |
service.type | Type of Service | ClusterIP |
service.port | Port for kubernetes service | 80 |
service.annotations | Annotations to add to the service | {} |
service.labels | Labels to add to the service | {} |
resources.requests.cpu | CPU resource requests | |
resources.limits.cpu | CPU resource limits | |
resources.requests.memory | Memory resource requests | |
resources.limits.memory | Memory resource limits | |
ingress | Settings for ingress | {} |
nodeSelector | Settings for nodeselector | {} |
tolerations | Settings for toleration | {} |
affinity | Settings for affinity | {} |
config.basePath | Application base path | / |
config.restHistorySize | Rest request history size per user | 50 |
config.hosts | A list of known hosts | [] |
config.secret | Secret used to sign session cookies | (random alphanumeric 64 length string) |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
<helm-repo>/cerebro
$ helm install --name my-release \
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 <helm-repo>/cerebro
$ helm install --name my-release -f values.yaml stable/cerebro
Tip: You can use the default values.yaml
Deploy cerebro with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cerebro on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcerebro is pinned at v1.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply