-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we rename nodes in Elasticsearch spec #1488
Comments
Since there is no feedback so far, I will wait a little more and close this on Monday concluding that we don't want to rename. |
Just to give examples for people looking at this issue. This is what we currently have: kind: Elasticsearch
metadata:
name: elasticsearch-sample
spec:
version: 7.2.0
nodes:
- name: masters
nodeCount: 3
- name: data-hot
nodeCount: 3
- name: data-warm
nodeCount: 3 We are wondering whether kind: Elasticsearch
metadata:
name: elasticsearch-sample
spec:
version: 7.2.0
nodeSpecs: # nodeSets, nodeTemplates, nodeGroups, etc.
- name: masters
count: 3 # nodeCount, replicas, etc.
- name: data-hot
count: 3
- name: data-warm
count: 3 |
For ES the term Not directly related this issue that seems to request feedback about ES specifically, but I can share that for other node types such as Kibana, APM, App Search, etc. the term node doesn't seem as appropriate. This also came up in similar discussion in ECE. Bottom line, I also don't have a strong opinion, but for ES |
|
Pasting here some feedbacks we received through another communication channel:
|
I think I am 👍 on changing it to something other than
I think |
We discussed this again and decided to go with kind: Elasticsearch
metadata:
name: elasticsearch-sample
spec:
version: 7.2.0
nodeSets:
- name: masters
count: 3
- name: data-hot
count: 3
- name: data-warm
count: 3 kind: Elasticsearch
metadata:
name: elasticsearch-sample
spec:
version: 7.2.0
nodeSets:
- name: default
count: 3 We will also rename the corresponding structs in the code. |
This came up in a comment for #1463.
I got a feeling that current name ("nodes") implies that it holds a list of nodes, but that's not accurate and might be misleading. It does hold a list, but each item describes a set of identical es nodes and holds:
I don't have full context as this was before my time, but seems like this field was renamed already from topologies to topology and then to nodes.
Alternatives that came up: nodeGroups, nodeSets, nodeSpecs, nodeTemplates.
I don't really feel strongly about this, but we decided to ask broader, hence calling @agup006 @jordansissel @Crazybus @zanbel @uric.
The text was updated successfully, but these errors were encountered: