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 2023/06/23 16:53:38 UTC
[solr-operator] branch main updated: Docs for common service load balancer via annotations (#576)
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 48551be Docs for common service load balancer via annotations (#576)
48551be is described below
commit 48551befefd14b3e8e1390813c4c4f6e98e4f35d
Author: Samuel Verstraete <sa...@gmail.com>
AuthorDate: Fri Jun 23 18:53:33 2023 +0200
Docs for common service load balancer via annotations (#576)
Document how a simple load balancer can be achieved through annotations on the commonServiceOptions.
Co-authored-by: Samuel Verstraete <sa...@ontoforce.com>
---
docs/solr-cloud/solr-cloud-crd.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docs/solr-cloud/solr-cloud-crd.md b/docs/solr-cloud/solr-cloud-crd.md
index 634a497..2fb54bd 100644
--- a/docs/solr-cloud/solr-cloud-crd.md
+++ b/docs/solr-cloud/solr-cloud-crd.md
@@ -151,6 +151,19 @@ If both of those criteria are met, then an individual ClusterIP Service will be
If you are using an `Ingress` for external addressability, you can customize the created `Ingress` through `SolrCloud.spec.customSolrKubeOptions.ingressOptions`.
Under this property, you can set custom `annotations`, `labels` and an `ingressClassName`.
+**Note:** If you have no need for an `Ingress` or a specific hostname to address your SolrCloud cluster you can create a simple loadbalancer that can be addressed from outside the kubernetes cluster. To achieve this you can add annotations to `SolrCloud.spec.customSolrKubeOptions.commonServiceOptions.annotations`. Exposing the headlessService is an option as well through `SolrCloud.spec.customSolrKubeOptions.headlessServiceOptions.annotations`, mind that using the headless service requir [...]
+Snippet below shows you can create an NLB on AWS:
+
+```yaml
+spec:
+ customSolrKubeOptions:
+ commonServiceOptions:
+ annotations:
+ service.beta.kubernetes.io/aws-load-balancer-type: external
+ service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
+ service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
+```
+
## Backups
Solr Backups are enabled via the Solr Operator.