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

[Complete][Help Needed][Helm] Migrate Helm-Charts to opensearch-project/helm-charts Standalone Repo #53

Closed
peterzhuamazon opened this issue Aug 25, 2021 · 16 comments
Labels
helm help wanted Extra attention is needed migration

Comments

@peterzhuamazon
Copy link
Member

Is your feature request related to a problem? Please describe.
We have published Helm-Charts standalone repo today with the help of community votes on naming #49.
https://github.com/opensearch-project/helm-charts

We now need to migrate helm charts from this repo to the standalone one.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@peterzhuamazon peterzhuamazon added enhancement New feature or request untriaged Issues that have not yet been triaged migration help wanted Extra attention is needed and removed enhancement New feature or request untriaged Issues that have not yet been triaged labels Aug 25, 2021
@TheAlgo
Copy link
Member

TheAlgo commented Aug 25, 2021

Thanks @peterzhuamazon for making this. This will be helpful for the community.
Solutions/Steps which I would like to propose for migration:

  1. We can transfer all the helm charts from the devops repository to the new repo for Helm chart(without erasing the history).
  2. Add a hyperlink for the helm charts from the devops repository something like this. Here docs is linked to a different repository. This will not break it for existing users who might be referring this repo. This way they can get redirected to the Helm Chart repos.
  3. All the charts should go in the root of the repository with individual README.md for each chart and in the main README.md (for the entire repo) we should have instructions for adding the repo, pre-requisites, quickstart , support matrix , useful docs etc plus the existing content.

Near future:
Add a root folder named samples/examples which will contain charts solving particular use-cases like logging, monitoring. These charts will reference the core charts of OpenSearch and OpenSearch Dashboards.

@peterzhuamazon
Copy link
Member Author

Thanks @TheAlgo, any more suggestions from other members?

@DandyDeveloper @mprimeaux @smlx

@mprimeaux
Copy link

mprimeaux commented Aug 25, 2021

@peterzhuamazon and @TheAlgo

Regarding the above bullets above...

  1. I don't have a preference on preserving history other than to say that it might be best to consider not moving history from the old repository into the new repository but instead place a deprecation notice in the README, which accomplishes the desire to preserve history without breaking any existing dependent link and also provides notice to folks with the existing link to now go here. Similar to how it was done here with the Helm community charts.
  2. The Helm Chart Releaser and Helm Chart Tester actions that I completed a few weeks ago and plan to issue a PR for does this already. As an example, see this.
  3. This is also addressed by bullet 2.

I think we should consider having the root folder for the charts in the new repository named stable to account for experimental charts. Well, either that or keep the root folder as charts (might be better in retrospect) and then simply adhere to Semver for experimental charts as version 0.<minor>.<patch>.

Please let me know if I can clarify. Happy to help.

@TheAlgo
Copy link
Member

TheAlgo commented Aug 26, 2021

@peterzhuamazon and @TheAlgo

Regarding the above bullets above...

  1. I don't have a preference on preserving history other than to say that it might be best to consider not moving history from the old repository into the new repository but instead place a deprecation notice in the README, which accomplishes the desire to preserve history without breaking any existing dependent link and also provides notice to folks with the existing link to now go here. Similar to how it was done here with the Helm community charts.
  2. The Helm Chart Releaser and Helm Chart Tester actions that I completed a few weeks ago and plan to issue a PR for does this already. As an example, see this.
  3. This is also addressed by bullet 2.

I think we should consider having the root folder for the charts in the new repository named stable to account for experimental charts. Well, either that or keep the root folder as charts (might be better in retrospect) and then simply adhere to Semver for experimental charts as version 0.<minor>.<patch>.

Please let me know if I can clarify. Happy to help.

@mprimeaux
I kinda disagree on not moving the history and would like to understand more from you. Reasons being:

  1. Helm charts were still under development. The example you mentioned contained full fledged charts.
  2. Deprecation is not a good idea since we have just started.

Also I agree on the Semver thingy instead of a stable folder. Let me know if you have further questions.

@mprimeaux
Copy link

mprimeaux commented Aug 26, 2021

@TheAlgo Thanks for replying. I’m certainly not strongly opposed to bringing over history.

Regarding deprecation, I should have been more precise. The deprecation is not about the charts but about the old repository. Regardless of where the old repository was in its development lifecycle, there were folks in the community who linked to it or, at the very least, saved bookmarks to it. At least for a period of time.

If you are not deleting the old repository, the community deserves to know that the old repository is no longer maintained and to navigate to the new repository.

if you are deleting the old repository then how will the community know where to efficiently find the new repository?

Preserving history is orthogonal to a deprecation notice.

@TheAlgo
Copy link
Member

TheAlgo commented Aug 26, 2021

@mprimeaux I get you. But I am not sure whether the old repository is going to be deleted or deprecated. I guess it will not be deleted. Just the Helm Charts will move and sit in the new repository. @peterzhuamazon can you confirm whether it is correct or wrong?

@mprimeaux
Copy link

mprimeaux commented Aug 26, 2021

As an secondary question, if you aren’t concerned about a deprecation notice to the community and have the desire to preserve history then why didn’t we simply rename the old repository to the new name?

@smlx
Copy link
Contributor

smlx commented Aug 26, 2021

My 2c:

  • just copy the charts over, don't worry about history. Leave a README.md in the old location with a link.
  • put the charts in charts/ in the new repo (e.g. charts/opensearch, charts/opensearch-dashboards). This is what all the standard Helm release tooling expects (e.g. chart-testing and chart-releaser)
  • start using Semver from 0.x.x

@TheAlgo
Copy link
Member

TheAlgo commented Aug 27, 2021

@DandyDeveloper Your opinions on this?

@DandyDeveloper
Copy link
Collaborator

Basically echoing what @smlx and @mprimeaux have said.

  • Retain existing repo
  • README with deprecation notice + New location
  • Add charts/ with subdirectories for dashboards and opensearch
  • Semvar 0.x.x

@TheAlgo
Copy link
Member

TheAlgo commented Aug 27, 2021

Thanks @DandyDeveloper @smlx @mprimeaux for responding on this migration activity. Looks like everyone is almost on the same page for this migration.

  1. Migrate the opensearch and opensearch-dashboards charts to the charts directory of the new repo as subdirectories
  2. Add link for the helm charts repo in the Readme of this(opensearch-devops) repo and add a deprecation notice to avoid any engagement related to Helm charts here.
  3. Going forward start using Semvar 0.x.x.

I would love to volunteer this migration and move all the charts after #56 is merged as it is breaking the opensearch-dashboards deployment. Cheers to all 😄

@mprimeaux
Copy link

@TheAlgo Thanks much for the summary. I think one minor correction to bullet 1 is the OpenSearch and OpenSearch-Dashboards would be placed under a charts/ folder in the root of the repo.

I believe @DandyDeveloper and @smlx will keep me "honest" here.

@TheAlgo
Copy link
Member

TheAlgo commented Aug 27, 2021

@TheAlgo Thanks much for the summary. I think one minor correction to bullet 1 is the OpenSearch and OpenSearch-Dashboards would be placed under a charts/ folder in the root of the repo.

I believe @DandyDeveloper and @smlx will keep me "honest" here.

Apologies for this. I missed it. I have edited the summary.

@peterzhuamazon peterzhuamazon changed the title [Help Needed][Helm] Migrate Helm-Charts to opensearch-project/helm-charts Standalone Repo [In Progress][Help Needed][Helm] Migrate Helm-Charts to opensearch-project/helm-charts Standalone Repo Aug 31, 2021
@TheAlgo
Copy link
Member

TheAlgo commented Aug 31, 2021

Hi All,

I have started the migration activity, will soon be able to raise the PR comprising both the charts in the new repository.

@peterzhuamazon
Copy link
Member Author

@TheAlgo draft PR: opensearch-project/helm-charts#7

@peterzhuamazon peterzhuamazon changed the title [In Progress][Help Needed][Helm] Migrate Helm-Charts to opensearch-project/helm-charts Standalone Repo [Complete][Help Needed][Helm] Migrate Helm-Charts to opensearch-project/helm-charts Standalone Repo Sep 7, 2021
@peterzhuamazon
Copy link
Member Author

Close this issue as the initial migration efforts is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helm help wanted Extra attention is needed migration
Projects
None yet
Development

No branches or pull requests

5 participants