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

[Fleet] Add featureFlag to support standalone fleet server #151865

Merged
merged 2 commits into from
Feb 22, 2023

Conversation

nchaulet
Copy link
Member

Summary

Related to elastic/fleet-server#2359

Add a new experimental feature that allow to run the Fleet UI with a Fleet Server standalone that do not create a fake agent or checkin.

xpack.fleet.enableExperimental: ['fleetServerStandalone']

That flag will remove the need to get an healthy fleet-server to enroll an agent in the Fleet UI.

cc @michel-laterman @jsoriano

Implementation details

I created a new hook for that to be able to easily change the source of the config here and to enable it if Kibana is running in serverless for example

@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team labels Feb 22, 2023
@nchaulet nchaulet requested a review from a team as a code owner February 22, 2023 14:17
@nchaulet nchaulet self-assigned this Feb 22, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
fleet 779 780 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
fleet 930.5KB 930.6KB +105.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 124.5KB 124.7KB +191.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @nchaulet

@nchaulet nchaulet merged commit 629b876 into elastic:main Feb 22, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Feb 22, 2023
@nchaulet nchaulet deleted the feature-fleet-server-standalone-flag branch February 22, 2023 21:24
@jsoriano
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants