helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

[PROPOSAL] In OpenSearch Helm charts repos we should use uniform naming convention for affinity

Open vaijosh opened this issue 6 months ago • 2 comments

What/Why

What are you proposing?

It observed that the openSearch and OpenSearch-dashboard charts used different conventions for affinity.

OpenSearch chart kept it flat i.e. we can directly specify nodeAffinity, podAffinity and so on. For OpenSeachDashboards we need to use "affinity.nodeAffinity" to do the same thing.

So, we should use consistent naming conventions.

What users have asked for this feature?

What problems are you trying to solve?

We are trying to use some scripts to deploy the charts. We accept nodeAffinity spec from user as a parameter. Due to inconsistent conventions used in chart, we need to use condition logic i.e. if chart is "openSearch" use nodeAffinity as a key, if chart is opensearch-dashboard, we affinity.nodeAffinity.

What is the developer experience going to be?

Helm chart installation install will be simplified if we used consistent naming convention like affinity.nodeAffinity instead of individual keys in openseach charts.

Are there any security considerations?

N/A

Are there any breaking changes to the API

What is the user experience going to be?

Are there breaking changes to the User Experience?

Yes. Existing user might need to follow new naming conventions when deploying helm charts.

Why should it be built? Any reason not to?

What will it take to execute?

Any remaining open questions?

vaijosh avatar Aug 16 '24 07:08 vaijosh