solr
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.
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
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
clusterDomain | Kubernetes cluster domain | cluster.local |
commonLabels | Add labels to all the deployed resources | {} |
commonAnnotations | Add annotations to all the deployed resources | {} |
extraDeploy | Extra objects to deploy (value evaluated as a template) | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the statefulset | ["sleep"] |
diagnosticMode.args | Args to override all containers in the statefulset | ["infinity"] |
Solr parameters
| Name | Description | Value |
|---|---|---|
image.registry | Solr image registry | docker.io |
image.repository | Solr image repository | bitnami/solr |
image.tag | Solr image tag (immutable tags are recommended) | 9.0.0-debian-11-r48 |
image.digest | Solr image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug values should be set | false |
auth.enabled | Enable Solr authentication | true |
auth.adminUsername | Solr admin username | admin |
auth.adminPassword | Solr admin password. Autogenerated if not provided. | "" |
auth.existingSecret | Existing secret with Solr password | "" |
auth.existingSecretPasswordKey | Password key to be retrieved from existing secret | solr-password |
coreNames | Solr core names to be created | ["my-core"] |
cloudEnabled | Enable Solr cloud mode | true |
cloudBootstrap | Enable cloud bootstrap. It will be performed from the node 0. | true |
collection | Solr collection name | my-collection |
collectionShards | Number of collection shards | 1 |
collectionReplicas | Number of collection replicas | 2 |
serverDirectory | Name of the created directory for the server | server |
javaMem | Java memory options to pass to the Solr container | "" |
heap | Java Heap options to pass to the Solr container | "" |
command | Override Solr entrypoint string | ["/scripts/setup.sh"] |
args | Arguments for the provided command if needed | [] |
extraEnvVars | Additional environment variables to set | [] |
extraEnvVarsCM | ConfigMap with extra environment variables | "" |
extraEnvVarsSecret | Secret with extra environment variables | "" |
Solr statefulset parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of solr replicas | 3 |
containerPorts.http | Solr HTTP container port | 8983 |
livenessProbe.enabled | Enable livenessProbe on Solr containers | true |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 40 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 15 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe on Solr containers | true |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 60 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 15 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
startupProbe.enabled | Enable startupProbe on Solr containers | false |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 40 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 15 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 15 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
customStartupProbe | Custom startupProbe that overrides the default one | {} |
lifecycleHooks | lifecycleHooks 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartsolr is pinned at v6.3.0 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