Helm chartv6.3.0App 9.0.0

Apache Solr is an extremely powerful, open source enterprise search platform built on Apache Lucene. It is highly reliable and flexible, scalable, and designed to add value very quickly after launch.

About this chart

Apache Solr packaged by Bitnami

Apache Solr is an extremely powerful, open source enterprise search platform built on Apache Lucene. It is highly reliable and flexible, scalable, and designed to add value very quickly after launch.

Overview of Apache Solr

Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/solr

Introduction

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

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure
  • ReadWriteMany volumes for deployment scaling

Installing the Chart

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

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/solr

These commands deploy Solr on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release statefulset:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release. Use the option --purge to delete all history too.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname template (will maintain the release name)""
fullnameOverrideString to fully override common.names.fullname template""
clusterDomainKubernetes cluster domaincluster.local
commonLabelsAdd labels to all the deployed resources{}
commonAnnotationsAdd annotations to all the deployed resources{}
extraDeployExtra objects to deploy (value evaluated as a template)[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the statefulset["sleep"]
diagnosticMode.argsArgs to override all containers in the statefulset["infinity"]

Solr parameters

NameDescriptionValue
image.registrySolr image registrydocker.io
image.repositorySolr image repositorybitnami/solr
image.tagSolr image tag (immutable tags are recommended)9.0.0-debian-11-r48
image.digestSolr image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyimage pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugSpecify if debug values should be setfalse
auth.enabledEnable Solr authenticationtrue
auth.adminUsernameSolr admin usernameadmin
auth.adminPasswordSolr admin password. Autogenerated if not provided.""
auth.existingSecretExisting secret with Solr password""
auth.existingSecretPasswordKeyPassword key to be retrieved from existing secretsolr-password
coreNamesSolr core names to be created["my-core"]
cloudEnabledEnable Solr cloud modetrue
cloudBootstrapEnable cloud bootstrap. It will be performed from the node 0.true
collectionSolr collection namemy-collection
collectionShardsNumber of collection shards1
collectionReplicasNumber of collection replicas2
serverDirectoryName of the created directory for the serverserver
javaMemJava memory options to pass to the Solr container""
heapJava Heap options to pass to the Solr container""
commandOverride Solr entrypoint string["/scripts/setup.sh"]
argsArguments for the provided command if needed[]
extraEnvVarsAdditional environment variables to set[]
extraEnvVarsCMConfigMap with extra environment variables""
extraEnvVarsSecretSecret with extra environment variables""

Solr statefulset parameters

NameDescriptionValue
replicaCountNumber of solr replicas3
containerPorts.httpSolr HTTP container port8983
livenessProbe.enabledEnable livenessProbe on Solr containerstrue
livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe40
livenessProbe.periodSecondsPeriod seconds for livenessProbe10
livenessProbe.timeoutSecondsTimeout seconds for livenessProbe15
livenessProbe.failureThresholdFailure threshold for livenessProbe6
livenessProbe.successThresholdSuccess threshold for livenessProbe1
readinessProbe.enabledEnable readinessProbe on Solr containerstrue
readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe60
readinessProbe.periodSecondsPeriod seconds for readinessProbe10
readinessProbe.timeoutSecondsTimeout seconds for readinessProbe15
readinessProbe.failureThresholdFailure threshold for readinessProbe6
readinessProbe.successThresholdSuccess threshold for readinessProbe1
startupProbe.enabledEnable startupProbe on Solr containersfalse
startupProbe.initialDelaySecondsInitial delay seconds for startupProbe40
startupProbe.periodSecondsPeriod seconds for startupProbe10
startupProbe.timeoutSecondsTimeout seconds for startupProbe15
startupProbe.failureThresholdFailure threshold for startupProbe15
startupProbe.successThresholdSuccess threshold for startupProbe1
customLivenessProbeCustom livenessProbe that overrides the default one{}
customReadinessProbeCustom readinessProbe that overrides the default one{}
customStartupProbeCustom startupProbe that overrides the default one{}
lifecycleHookslifecycleHooks for the Solr container to automate configuration before or after startup{}
`resources.limi

Deploy solr with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has solr 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 chartsolr is pinned at v6.3.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