[Extension] Build tool for managing extensions
Is your feature request related to a problem?
Extensions can be installed today, without any tools, its just configuration. With the tools we’ll make it easier to manage extensions. Its nice to have.
@saratvemulapalli , can you please add details for this issue ? cc @joshpalis
Extensions are manually spun up, installed and managed. We'd like to provide a simple tools to manage extensions during it lifecycle.
- Build a tool which plugs into
bin/opensearch[1] and spins up, validates and makes sure the extension is up. - As part of the distribution we ship
securityadmin.sh[2] the tool should be updated to readextensions.ymlconfig and generate certificates for TLS setup. - Similar to
bin/opensearch-plugin[3] we should support generatingextensions.ymlconfiguration file and put it underextensionsdirectory of opensearch distribution. - Build RestAPIs in OpenSearch (ExtensionsManager) to reflect current status/lifecycle of extensions.
[1] https://github.com/opensearch-project/OpenSearch/blob/main/distribution/src/bin/opensearch [2] https://github.com/opensearch-project/security/blob/main/tools/securityadmin.sh [3] https://github.com/opensearch-project/OpenSearch/blob/main/distribution/src/bin/opensearch-plugin