elasticsearch2

by ygqygq2

Helm chartv1.0.0App 2.4.6Verified publisher

A Helm chart for Kubernetes

About this chart

elasticsearch2 - spring boot 1.X集成版本

elasticsearch是什么

Introduction

This chart bootstraps elasticsearch2 deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.6+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

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

$ helm install --name my-release mycharts/elasticsearch2

The command deploys elasticsearch2 cluster on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstall

To uninstall/delete the my-release deployment:

$ helm delete my-release

Configuration

The following table lists the configurable parameters of the FastDFS-Nginx chart and their default values.

ParameterDescriptionDefault
statefulset.enableduse statefulset to starttrue
deploymentStrategydeployment rollingUpdate setting{}
replicaCountreplicas number1
serviceService type, protocol, portClusterIP TCP 9200, 9300
envcontainer env setting[]
configconfigmap to use[]
secretsecret to use[]
imageelasticsearch2 image, tag.elasticsearch 2.4.6
ingressIngress for the elasticsearch2.false
persistentVolume.enabledCreate a volume to store datatrue
persistence.storageClassType of persistent volume claimnil
persistence.accessModesPersistent volume access modes[ReadWriteOnce]
persistence.existingClaimPersistent volume existingClaim name{}
persistence.annotationsPersistent volume annotations{}
healthCheck.enabledliveness and readiness probesfalse
resourcesCPU/Memory resource requests/limits{}
deploymentdeployment annotations initContainers{}
extraContainerssidecar containers{}

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

Persistence

The elasticsearch image stores the data and configurations at the /usr/share/elasticsearch/data path of the container.

Deploy elasticsearch2 with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elasticsearch2 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartelasticsearch2 is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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