Skip to content
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

How to deploy the opensearch kubernates cluster with different roles individually like master, data & client pods #521

Open
ganilmca opened this issue Feb 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ganilmca
Copy link

Hi Team,

We want to deploy the opensearch cluster with different roles like master, data & clients pods in opensearch-2.11.0 version, but in the below link "https://github.com/opensearch-project/helm-charts/tree/main/charts/opensearch" we can able to deploy the all roles together in each pod. In my cluster we want to deploy the from 20 to 30 pods in this case all pods are master, data & clients pods roles.
Is it recommended for maintain all pods as master+data pods in kubernates cluster?
If we want to deploy the cluster with different roles then what are the required changes done from my end in above helm charts.

Please help us to resolve this issue.

Thanks,
Anil

@ganilmca ganilmca added enhancement New feature or request untriaged Issues that have not yet been triaged labels Feb 27, 2024
@smlx
Copy link
Contributor

smlx commented Feb 27, 2024

You need to do multiple installations of the helm chart into the same namespace. Pods from each install will join a single Opensearch cluster. There's a blog post describing this here, but this info should probably be added to the docs too.

@ganilmca
Copy link
Author

You need to do multiple installations of the helm chart into the same namespace. Pods from each install will join a single Opensearch cluster. There's a blog post describing this here, but this info should probably be added to the docs too.

Hi @smlx,

Thank you for updating me, but this link not working as expected even we have tried as mentioned the link.
We have updated the master helm charts like below.
image

If we used like this the cluster was not forming, have got the below error while trying to get cluster health
[opensearch@opensearch-cluster-master-0 tools]$ curl -ku admin:Mwpes@1234 -XGET https://localhost:9200/_cluster/health?pretty
OpenSearch Security not initialized.[opensearch@opensearch-cluster-master-0 tools]$

The link which you provide here it was working for opensearch-1.x but here we want to deploy for opensearch-2.12.0 which is the latest version.

Can you please confirm is it work for latest version of OpenSearch or not by testing from your side, if it is possible?.

Thanks,
Anil

@rishabh6788 rishabh6788 removed the untriaged Issues that have not yet been triaged label Apr 1, 2024
@getsaurabh02 getsaurabh02 moved this from 🆕 New to Later (6 months plus) in Engineering Effectiveness Board Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📦 Backlog
Development

No branches or pull requests

3 participants