Back to Charts

⚠️ Repo Archive Notice

stable/cerebro/README.md

latest6.7 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

Cerebro

Cerebro is an open source (MIT License) elasticsearch web admin tool built using Scala, Play Framework, AngularJS and Bootstrap.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Introduction

This chart deploys Cerebro to your cluster via a Deployment and Service. Optionally you can also enable ingress. Optionally you can use cerebro provided auth by uploading a Secret with the needed env vars (don't forget to set AUTH_TYPE).

Prerequisites

  • Kubernetes 1.9+

Installing the Chart

To install the chart with the release name my-release, run:

bash
$ 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:

bash
$ 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.

ParameterDescriptionDefault
replicaCountNumber of replicas1
image.repositoryThe image to runlmenezes/cerebro
image.tagThe image tag to pull0.9.2
image.pullPolicyImage pull policyIfNotPresent
image.pullSecretsSpecify image pull secretsnil (does not add image pull secrets to deployed pods)
init.image.repositoryThe image to rundocker.io/busybox
init.image.tagThe image tag to pullmusl
init.image.pullPolicyImage pull policyIfNotPresent
deployment.annotationsAnnotations for deployment{}
deployment.podAnnotationsAdditional pod annotations{}
deployment.labelsAdditional labels for deployment{}
deployment.podLabelsAdditional pod labels{}
deployment.livenessProbe.enabledEnable livenessProbetrue
deployment.readinessProbe.enabledEnable readinessProbetrue
service.typeType of ServiceClusterIP
service.portPort for kubernetes service80
service.annotationsAnnotations to add to the service{}
service.labelsLabels to add to the service{}
resources.requests.cpuCPU resource requests
resources.limits.cpuCPU resource limits
resources.requests.memoryMemory resource requests
resources.limits.memoryMemory resource limits
ingressSettings for ingress{}
ingress.labelsLabels to add to the ingress{}
priorityClassNamepriorityClassNamenil
nodeSelectorSettings for nodeselector{}
tolerationsSettings for toleration{}
affinitySettings for affinity{}
envMap of env vars (key/value ){}
envFromSecretRefReference to Secret with env vars
config.basePathApplication base path/
config.restHistorySizeRest request history size per user50
config.hostsA list of known hosts[]
config.secretSecret used to sign session cookies(random alphanumeric 64 length string)
config.tlsVerifyValidate Elasticsearch certtrue
config.tlsCaCertCA cert to use for cert validationSee values.yaml
securityContextSecurity context for podSee values.yaml
volumesVolumes defintionSee values.yaml
volumeMountsVolume mount defintionSee values.yaml

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

bash
$ helm install --name my-release \
    stable/cerebro

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

bash
$ helm install --name my-release -f values.yaml stable/cerebro

Tip: You can use the default values.yaml