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

Install a custom build of an integration package into a cluster on Elastic Cloud #50

Closed
zmoog opened this issue Aug 31, 2023 · 3 comments

Comments

@zmoog
Copy link
Owner

zmoog commented Aug 31, 2023

I need to install a development version of an integration package into a cluster running on Elastic Cloud.

@zmoog zmoog self-assigned this Aug 31, 2023
@zmoog zmoog added the research label Aug 31, 2023
@zmoog
Copy link
Owner Author

zmoog commented Aug 31, 2023

@zmoog
Copy link
Owner Author

zmoog commented Sep 5, 2023

Build the package using elastic-package and copy the .zip file in a safe place:

elastic-package build

cp ../../build/packages/kubernetes-1.44.0.zip /somewhere/safe/

@zmoog
Copy link
Owner Author

zmoog commented Sep 5, 2023

Set up the required environment variables:

export ELASTIC_PACKAGE_KIBANA_HOST="https://<URL>:9243"
export ELASTIC_PACKAGE_ELASTICSEARCH_USERNAME="elastic"
export ELASTIC_PACKAGE_ELASTICSEARCH_PASSWORD="<REDACTED>"

And finally, and Install the package in .zip file:

$ elastic-package install --zip kubernetes-1.44.0.zip -v
2023/09/05 15:20:57 DEBUG Enable verbose logging
2023/09/05 15:20:58 DEBUG GET https://<KIBANA_HOST>:9243/api/status
2023/09/05 15:20:58 DEBUG Validating built .zip package (path: kubernetes-1.44.0.zip)
2023/09/05 15:20:59 DEBUG Skip validation of the built .zip package
2023/09/05 15:20:59 DEBUG POST https://<KIBANA_HOST>:9243/api/fleet/epm/packages

@zmoog zmoog changed the title Install a integration package into a cluster on Elastic Cloud Install a custom build of an integration package into a cluster on Elastic Cloud Sep 5, 2023
@zmoog zmoog closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant