Skip to content

Commit

Permalink
Update Solr version tag in local_tutorial.md (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlowskija authored and HoustonPutman committed Apr 3, 2024
1 parent 64129ba commit 42ea324
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/local_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ After inspecting the status of you Kube cluster, you should see a deployment for
To start a Solr Cloud cluster, we will create a yaml that will tell the Solr Operator what version of Solr Cloud to run, and how many nodes, with how much memory etc.

```bash
# Create a 3-node cluster v8.3 with 300m Heap each:
# Create a 3-node cluster v8.11.2 with 300m Heap each:
helm install example-solr apache-solr/solr --version 0.8.1-prerelease \
--set image.tag=8.3 \
--set image.tag=8.11.2 \
--set solrOptions.javaMemory="-Xms300m -Xmx300m" \
--set addressability.external.method=Ingress \
--set addressability.external.domainName="ing.local.domain" \
Expand Down Expand Up @@ -207,13 +207,13 @@ By default, the helm chart does not set the `replicas` field, so it is safe to u
So we wish to upgrade to a newer Solr version:

```bash
# Take note of the current version, which is 8.3.1
# Take note of the current version, which is 8.11.2
curl -s http://default-example-solrcloud.ing.local.domain/solr/admin/info/system | grep solr-i
# Update the solrCloud configuration with the new version, keeping all previous settings and the number of nodes set by the autoscaler.
helm upgrade example-solr apache-solr/solr --version 0.8.1-prerelease \
--reuse-values \
--set image.tag=8.7
--set image.tag=8.11.3
# Click the 'Show all details" button in Admin UI and start hitting the "Refresh" button
# See how the operator upgrades one pod at a time. Solr version is in the 'node' column
Expand Down

0 comments on commit 42ea324

Please sign in to comment.