Comments (3)
The es-operator creates a service for each ElasticsearchDataSet (eds) that you define. This is mostly intended for the operator to communicate with Elasticsearch API, but ofc you can also use it for ingress (I think). We currently don't allow you to e.g. change this to a type: LoadBalancer
service, but you could just deploy your own service which targets the EDS with the same label selectors.
Your config snippet suggest that you both create an ALB for ingress AND an ELB for service type LoadBalancer. I don't know if this is intentional or what purpose it serves, but if an ingress is enough then you can create an ingress resource that points to the service created by es-operator.
I hope this clarifies it a bit.
from es-operator.
First of all, thank you a lot for your quick response 👍
So far I was trying to overwrite the service and creating the ingress ( add my own label selectors), but knowing that I can not change type: LoadBalancer
I will then try to follow your advice:
- deploy normally the
EDS
- deploy my ingress targeting a
NodePort
service with the existing label selectors
My previous configuration was wrong (using only ingress or service loadbalancer)
Anyway, I will comment tomorrow if I succeed or not to deploy my ingress
.
from es-operator.
I think we can close that. I succeed to create my ingress and a service that target the EDS
If I can suggest something, is that the annotations defined in the I guess annotation should have been set in EDS
should be set on the stateful set.
In fact my issue was coming from that. (I did not realize at first but kubectl get pods -n es --show-labels
help me to realize it).spec
and not top level metadata
annotations
So so far, I use the application=elasticsearch
to target the EDS
Thx again
from es-operator.
Related Issues (20)
- Feature request: Awareness of rolling restart requirement for version upgrade
- Apply minIndexReplicas on config change HOT 4
- Handling for system indices HOT 2
- Interest in contributing to OpenSearch HOT 12
- Unable to create "Persistent Volume Claims" HOT 3
- Infinite loop while updating EDS HOT 1
- Deprecation Warning "policy/v1beta1 PodDisruptionBudget is deprecated"
- Document spec.excludeSystemIndices
- Elasticsearch data pods don't come up HOT 7
- Document runbook in case of emergency
- Pod stuck in migration HOT 2
- Could it be used with the eck operator? HOT 1
- Auto-scaling does not work HOT 3
- Using Zalando's ScalingSchedule to Scale EDS Instances HOT 2
- Elastic8 - security HOT 3
- Calculate and set total_shards_per_node per index
- Logging Configuration to set log format to json
- Does it not support automatic increase in the number of primary shards? HOT 2
- operator stuck in scale down loop HOT 4
- Enable Interruption of Node Drain Retries by New Operations in es-operator HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es-operator.