You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/06/22 14:52:54 UTC
[solr-operator] branch main updated: Add ingressClassName to tutorial and example (#447)
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 24db4d0 Add ingressClassName to tutorial and example (#447)
24db4d0 is described below
commit 24db4d0f24450a712709fed1fad3f8229da8e116
Author: Houston Putman <ho...@apache.org>
AuthorDate: Wed Jun 22 10:52:50 2022 -0400
Add ingressClassName to tutorial and example (#447)
---
docs/local_tutorial.md | 3 ++-
example/test_solrcloud_addressability.yaml | 7 +++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/local_tutorial.md b/docs/local_tutorial.md
index f48baa8..93610ea 100644
--- a/docs/local_tutorial.md
+++ b/docs/local_tutorial.md
@@ -128,7 +128,8 @@ helm install example-solr apache-solr/solr --version 0.6.0-prerelease \
--set solrOptions.javaMemory="-Xms300m -Xmx300m" \
--set addressability.external.method=Ingress \
--set addressability.external.domainName="ing.local.domain" \
- --set addressability.external.useExternalAddress="true"
+ --set addressability.external.useExternalAddress="true" \
+ --set ingressOptions.ingressClassName="nginx"
# The solr-operator has created a new resource type 'solrclouds' which we can query
# Check the status live as the deploy happens
diff --git a/example/test_solrcloud_addressability.yaml b/example/test_solrcloud_addressability.yaml
index 51193b6..7f1d0c8 100644
--- a/example/test_solrcloud_addressability.yaml
+++ b/example/test_solrcloud_addressability.yaml
@@ -19,8 +19,6 @@ metadata:
name: ingress-cloud
spec:
replicas: 3
- solrImage:
- tag: 8.7.0
solrAddressability:
podPort: 10000
commonServicePort: 80
@@ -32,6 +30,9 @@ spec:
- "another.kube.example.com"
- "another.kube.other.com"
nodePortOverride: 80
+ customSolrKubeOptions:
+ ingressOptions:
+ ingressClassName: nginx
---
apiVersion: solr.apache.org/v1beta1
@@ -40,8 +41,6 @@ metadata:
name: external-dns-cloud
spec:
replicas: 3
- solrImage:
- tag: 8.7.0
solrAddressability:
podPort: 10000
commonServicePort: 80