elasticsearch-umbrella
by empathy.co
Helm chartv0.8.12App 7.17.2
A Helm chart for Kubernetes
About this chart
elasticsearch-umbrella
A Helm chart for Kubernetes
Requirements
| Repository | Name | Version |
|---|---|---|
| client(elasticsearch-deployment) | 0.8.12 | |
| master(elasticsearch-statefulset) | 0.8.12 | |
| data(elasticsearch-statefulset) | 0.8.12 | |
| index(elasticsearch-statefulset) | 0.8.12 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| client.affinityOverride | object | {} | |
| client.busybox.image | string | "busybox:1.31" | Image for busybox initContainers (sysctlInitContainer in official Elasticsearch Helm chart) |
| client.elastic_config | object | {"bootstrap.memory_lock":"true","logger.org.elasticsearch.discovery.gce":"TRACE","network.bind_host":"0.0.0.0","node.data":"false","node.master":"false","node.ml":"false","transport.tcp.compress":"true"} | Elasticsearch configuration added in a configMap and passed to the Elasticsearch pods as Env. Vars. |
| client.elastic_config."bootstrap.memory_lock" | string | "true" | Elasticsearch enable memory lock to avoid swapping |
| client.elastic_config."logger.org.elasticsearch.discovery.gce" | string | "TRACE" | Elasticsearch GCE discovery log level |
| client.elastic_config."network.bind_host" | string | "0.0.0.0" | Elasticsearch network.bind_host, network address(es) to which the node should bind in order to listen for incoming connections. |
| client.elastic_config."node.data" | string | "false" | Elasticsearch data node role |
| client.elastic_config."node.master" | string | "false" | Elasticsearch master node role |
| client.elastic_config."node.ml" | string | "false" | Elasticsearch ml node role |
| client.elastic_config."transport.tcp.compress" | string | "true" | Elasticsearch enable compression between nodes |
| client.enabled | bool | true | Enabling or disabling client nodes |
| client.extraInitContainers | list | [] | Extra initContainers to be run after the ones needed by Elasticsearch |
| client.extraVolumeMounts | list | [] | Extra volume to mount to the Elasticsearch container. Those must be first specified in the extraVolumes field. |
| client.extraVolumes | list | [] | Extra volumes, these can be later mounted on the extraInitContainers or to the Elasticsearch container. |
| client.fullnameOverride | string | "" | Overrides the clusterName and nodeGroup when used in the naming of resources. This should only be used when using a single nodeGroup, otherwise you will have name conflicts |
| client.image.pullPolicy | string | "IfNotPresent" | The Kubernetes imagePullPolicy value |
| client.image.repository | string | "empathyco/elasticsearch" | Docker repository for Elasticsearch image |
| client.image.tag | string | "7.17.2-memlock" | Overrides the image tag whose default is the chart appVersion. |
| client.imagePullSecrets | list | [] | Configuration for imagePullSecrets so that you can use a private registry for your image |
| client.ingress.annotations | object | {} | Annotations for Kubernetes Ingress |
| client.ingress.className | string | "" | IngressClass name for ingress exposition |
| client.ingress.enabled | bool | false | Enable Kubernetes Ingress to expose Elasticsearch pods |
| client.ingress.hosts | list | [] | Host and path for Kubernetes Ingress. See values.yaml for an example |
| client.ingress.tls | list | [] | TLS secret for exposing Elasticsearch with https. See values.yaml for an example |
| client.initContainersResources | object | {} | Set up resources of default Elasticsearch initContainers (same for all) |
| client.nameOverride | string | "" | Overrides the clusterName when used in the naming of resources |
| client.nodeSelector | object | {} | Configurable nodeSelector so that you can target specific nodes for your Elasticsearch cluster |
| client.podAnnotations | object | {} | Configurable annotations applied to all Elasticsearch pods |
| client.podSecurityContext | object | {} | Allows you to set the securityContext for the pod |
| client.podSecurityPolicy.create | bool | false | Create a podSecurityPolicy with minimal permissions to run this Helm chart. Be sure to also set rbac.create to true, otherwise Role and RoleBinding won't be created. |
| client.podSecurityPolicy.name | string | "" | The name of the podSecurityPolicy to use. If not set and create is true, a name is generated using the fullname template |
| client.podSecurityPolicy.spec | object | {} | Spec to apply to the podSecurityPolicy. See values.yaml for an example |
| client.prometheus.annotations | object | {"app":"prometheus-operator","release":"prometheus"} | Annotations to include in the ServiceMonitor |
| client.prometheus.command[0] | string | "/bin/elasticsearch_exporter" | |
| client.prometheus.command[1] | string | "--es.uri=http://127.0.0.1:9200" | |
| client.prometheus.enabled | bool | false | Deploy a ServiceMonitor for Prometheus scrapping |
| client.prometheus.exporter.image | string | "prometheuscommunity/elasticsearch-exporter:v1.3.0" | Exporter image to deploy as a sidecar container |
| client.prometheus.resources.requests.cpu | string | "100m" | |
| client.prometheus.resources.requests.memory | string | "128Mi" | |
| client.rbac.create | bool | false | Whether RBAC rules should be created (Role and Rolebinding) |
| client.replicaCount | int | 3 | Kubernetes replica count for the Deployment (i.e. how many pods) |
| client.resources.requests.cpu | string | "1000m" | CPU requests for the StatefulSet |
| client.resources.requests.memory | string | "3Gi" | Memory requests for the StatefulSet |
| client.securityContext | object | {"capabilities":{"add":["IPC_LOCK","SYS_RESOURCE"]}} | Allows you to set the securityContext for the container |
| client.service.port | int | 9200 | Kubernetes service port, used by Ingress to expose Elasticsearch pods |
| client.service.type | string | "ClusterIP" | Kubernetes service type |
| client.serviceAccount.annotations | object | {} | Annotations to add to the service account |
| client.serviceAccount.create | bool | true | Specifies whether a service account should be created |
| client.serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| client.tolerations | list | [] | Configurable tolerations |
| data.affinityOverride | object | {} | |
| data.busybox.image | string | "busybox:1.31" | Image for busybox initContainers (sysctlInitContainer in official Elasticsearch Helm chart) |
| data.elastic_config | object | {"bootstrap.memory_lock":"true","logger.org.elasticsearch.discovery.gce":"TRACE","network.bind_host":"0.0.0.0","node.attr.type":"search","node.data":"true","node.ingest":"true","node.master":"false","node.ml":"false","transport.tcp.compress":"true"} | Elasticsearch configuration added in a configMap and passed to the Elasticsearch pods as Env. Vars. |
| data.elastic_config."bootstrap.memory_lock" | string | "true" | Elasticsearch enable memory lock to avoid swapping |
| data.elastic_config."logger.org.elasticsearch.discovery.gce" | string | "TRACE" | Elasticsearch GCE discovery log level |
| data.elastic_config."network.bind_host" | string | "0.0.0.0" | Elasticsearch network.bind_host, network address(es) to which the node should bind in order to listen for incoming connections. |
| data.elastic_config."node.attr.type" | string | "search" | Elasticsearch node attribute type |
| data.elastic_config."node.data" | string | "true" | Elasticsearch data node role |
| data.elastic_config."node.ingest" | string | "true" | Elasticsearch ingest node role |
| data.elastic_config."node.master" | string | "false" | Elasticsearch master node role |
| data.elastic_config."node.ml" | string | "false" | Elasticsearch ml node role |
| data.elastic_config."transport.tcp.compress" | string | "true" | Elasticsearch enable compression between nodes |
| data.enabled | bool | true | Enabling or disabling data nodes |
| data.extraInitContainers | list | [] | Extra initContainers to be run after the ones needed by Elasticsearch |
| data.extraVolumeMounts | list | [] | Extra volume to mount to the Elasticsearch container. Those must be first specified in the extraVolumes field. |
| data.extraVolumes | list | [] | Extra volumes, these can be later mounted on the extraInitContainers or to the Elasticsearch container. |
| data.fullnameOverride | string | "" | Overrides the clusterName and nodeGroup when used in the naming of resources. This should only be used when using a single nodeGroup, otherwise you will have name conflicts |
| data.image.pullPolicy | string | "IfNotPresent" | The Kubernetes imagePullPolicy value |
| data.image.repository | string | "empathyco/elasticsearch" | Docker repository for Elasticsearch image |
| data.image.tag | string | "7.17.2-memlock" | Overrides the image tag whose default is the chart appVersion. |
| data.imagePullSecrets | list | [] | Configuration for imagePullSecrets so that you can use a private registry for your image |
| data.ingress.annotations | object | {} | Annotations for Kubernetes Ingress |
| data.ingress.className | string | "" | IngressClass name for ingress exposition |
| data.ingress.enabled | bool | false | Enable Kubernetes Ingress to expose Elasticsearch pods |
| data.ingress.hosts | list | [] | Host and path for Kubernetes Ingress. See values.yaml for an example |
| data.ingress.tls | list | [] | TLS secret for exposing Elasticsearch with https. See values.yaml for an example |
| data.initContainersResources | object | {} | Set up resources of default Elasticsearch initContainers (same for all) |
| data.isMaster | bool | false | This property indicates its the master |
| data.nameOverride | string | "" | Overrides the clusterName when used in the naming of resources |
| data.nodeSelector | object | {} | Configurable nodeSelector so that you can target specific nodes for your Elasticsearch cluster |
| data.podAnnotations | object | {} | Configurable annotations applied to all Elasticsearch pods |
| data.podSecurityContext | object | {} | Allows you to set the securityContext for the pod |
| data.podSecurityPolicy.create | bool | false | Create a podSecurityPolicy with minimal permissions to run this Helm chart. Be sure to also set rbac.create to true, otherwise Role and RoleBinding won't be created. |
| data.podSecurityPolicy.name | string | "" | The name of the podSecurityPolicy to use. If not set and create is true, a name is generated using the fullname template |
| data.podSecurityPolicy.spec | object | {} | Spec to apply to the podSecurityPolicy. See values.yaml for an example |
| data.prometheus.annotations | object | {"app":"prometheus-operator","release":"prometheus"} | Annotations to include in the ServiceMonitor |
| data.prometheus.command[0] | string | "/bin/elasticsearch_exporter" | |
| data.prometheus.command[1] | string | "--es.uri=http://127.0.0.1:9200" | |
| data.prometheus.enabled | bool | false | Deploy a ServiceMonitor for Prometheus scrapping |
| data.prometheus.exporter.image | string | "prometheuscommunity/elasticsearch-exporter:v1.3.0" | Exporter image to deploy as a sidecar container |
| data.prometheus.resources.requests.cpu | string | "100m" | |
| data.prometheus.resources.requests.memory | string | "128Mi" | |
| data.rbac.create | bool | false | Whether RBAC rules should be created (Role and Rolebinding) |
| data.replicaCount | int | 3 | Kubernetes replica count for the StatefulSet (i.e. how many pods) |
| data.resources.requests.cpu | string | "1000m" | CPU requests for the StatefulSet |
| data.resources.requests.memory | string | "3Gi" | Memory requests for the StatefulSet |
| data.securityContext | object | {"capabilities":{"add":["IPC_LOCK","SYS_RESOURCE"]}} | Allows you to set the securityContext for the container |
| data.service.port | int | 9200 | Kubernetes service port, used by Ingress to expose Elasticsearch pods |
| data.service.type | string | "ClusterIP" | Kubernetes service type |
| data.serviceAccount.annotations | object | {} | Annotations to add to the service account |
| data.serviceAccount.create | bool | true | Specifies whether a service account should be created |
| data.serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| data.tolerations | list | [] | Configurable tolerations |
| data.volume.annotations | object | {} | Annotations for statefulSet volumes |
| data.volume.storage | string | "200Gi" | Storage resources for statefulSet volumes |
| data.volume.storage_class | string | "standard" | Storage class for statefulSet volumes |
| global.elastic_config."cluster.name" | string | "es" | Elasticsearch cluster.name and should be unique per cluster in the namespace. Note that it should be the same as elasticsearch-data.elastic_config."cluster.name" so both subcharts belong to the same cluster. |
| global.masterFullname | string | "es-master" | Fullname of the master, necessary to connect |
| global.metrics.enabled | bool | false | |
| global.metrics.prometheus.annotations | object | {} | Annotations to include in the ServiceMonitor |
| global.metrics.prometheus.labels.release | string | "prometheus" | |
| global.metrics.serviceMonitor.interval | string | "" | Elasticsearch cluster serviceMonitor |
| global.metrics.serviceMonitor.metricRelabelings | list | [] | |
| global.metrics.serviceMonitor.relabelings | list | [] | |
| g |
Deploy elasticsearch-umbrella with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elasticsearch-umbrella 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 chartelasticsearch-umbrella is pinned at v0.8.12 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