-
Notifications
You must be signed in to change notification settings - Fork 218
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
Code Refactor to update the API's to opensearch.org
(removing opster
reference)
#698
Conversation
Signed-off-by: Prudhvi Godithi <[email protected]>
Adding @swoehrl-mw @bbarani @peterzhuamazon @dbason @idanl21 @ido-opster @dblock to please take a look. |
opensearch.org
(removing opster
reference)
@prudhvigodithi These changes completely break the operator. By renaming the apigroup of all the CRDs they will be incompatible and users will not be able to update. They would have to basically destroy their opensearch clusters by removing all CRs, update the operator, change their yamls to use the new apigroup, then reinstall everything. |
Hey @swoehrl-mw it wont break, the user has to re-install the operator that will have the new API groups, from there one can control the cluster settings with the new API group. |
@prudhvigodithi I disagree. |
@swoehrl-mw yes as I mentioned it can be avoided and the cluster need not be destroyed, but do you suggest to support both the |
@prudhvigodithi I suggest to not rename the CRDs at all and just keep the old names, due to the risks and incompatibility. It wouldn't be the first operator to have an apigroup no longer matching the name or org. |
So you suggest continue with |
@prudhvigodithi @swoehrl-mw Can we incorporate this change and release a new major version to support this breaking change? We might not be able to continue using the name |
I feel we should not stop releasing the operator with new API |
Could you plan to compile and release the operator along with the helm chart? |
Hey @bbarani @swoehrl-mw, An alternate way is to use the conversion web-hook with hub and spoke model in the operator to manage both the API's I have created For existing users, the migration process from operator
Note: This wont delete the PV and PVC's created where the actual cluster data is stored. It will just delete the other resources bought up by the CRD
This is to ensure the new cluster stateful set pods use the existing claims where the actual data resides.
This should bring back the cluster mounting to the same persistent volumes and now the using the new API's |
@prudhvigodithi Your steps require users to completely shutdown their opensearch clusters during the upgrade (as all pods will be deleted). Not good for anyone running the operator in production, especially as the operator normally does everything in a rolling fashion. Why not stay with the old apigroup name until there is a pressing (legal) need to change it or a big redesign of the CRDs happens? Changing the name just to get rid of all opster references and because maybe potentially Elastic might not like the operator continuing to use the opster name in technical naming is IMO too big a disruption for little advantage. |
Hey Everyone, at this point working with legal team to get the confirmation on using the existing Opster API's for the operator, myself or @bbarani will post details as soon as we have some updates. |
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
We will revert this PR for now and work with the community to come up with a plan along with a roadmap. CC: @swoehrl-mw @prudhvigodithi |
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422.
…ng `opster` reference) (opensearch-project#698)" This reverts commit 1c72422. Signed-off-by: Prudhvi Godithi <[email protected]>
Description
Please note this PR is for refactoring the code to update the packages and remove Opster reference. Once this is merged I will raise a new PR to update the GitHub workflows and release process to do a minimal release.
On my local I have tested with
make install ; make run
and was able to deploy the operator.Issues Resolved
Part of #674
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.