[Fleet] Add xpack.fleet.experimentalFeatures config setting#238840
Conversation
b5e0070 to
062b1d8
Compare
This comment was marked as outdated.
This comment was marked as outdated.
062b1d8 to
ba13441
Compare
MichelLosier
left a comment
There was a problem hiding this comment.
Looking good so far! Just a few things to consider.
x-pack/platform/plugins/shared/fleet/common/experimental_features.test.ts
Outdated
Show resolved
Hide resolved
|
Pinging @elastic/fleet (Team:Fleet) |
x-pack/platform/plugins/shared/fleet/common/experimental_features.ts
Outdated
Show resolved
Hide resolved
|
Looks like there is still some usage of the config directly in |
x-pack/platform/plugins/shared/fleet/dev_docs/space_awareness.md
Outdated
Show resolved
Hide resolved
florent-leborgne
left a comment
There was a problem hiding this comment.
Docs update LGTM! Thank you
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI Steps
Metrics [docs]Async chunks
Page load bundle
History
|
…c#238840) ## Summary Relates elastic#238084 This PR adds a new `xpack.fleet.experimentalFeatures` config setting to allow enabling or disabling Fleet experimental features. Explicitly enabling or disabling using this setting overrides the default values defined here: https://github.com/elastic/kibana/blob/82b2d2d7b9c4a5d78fb12b53c655a8a72378a234/x-pack/platform/plugins/shared/fleet/common/experimental_features.ts#L10-L23 Furthermore, this new setting takes precedence over the existing `xpack.fleet.enableExperimental` setting. The latter is now marked as deprecated to encourage users to use the new setting. I have attempted to replace existing references to `xpack.fleet.enableExperimental` accordingly. ### Docs change Preview: [docs/reference/configuration-reference/fleet-settings.md](https://docs-v3-preview.elastic.dev/elastic/kibana/pull/238840/reference/configuration-reference/fleet-settings) <img width="913" height="554" alt="Screenshot 2025-10-15 at 14 30 50" src="https://github.com/user-attachments/assets/43815fa6-f7a4-4dcf-8cf5-34058e29d163" /> ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ### Identify risks Low probability risk of Fleet experimental features incorrectly enabled or disabled. --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…c#238840) ## Summary Relates elastic#238084 This PR adds a new `xpack.fleet.experimentalFeatures` config setting to allow enabling or disabling Fleet experimental features. Explicitly enabling or disabling using this setting overrides the default values defined here: https://github.com/elastic/kibana/blob/82b2d2d7b9c4a5d78fb12b53c655a8a72378a234/x-pack/platform/plugins/shared/fleet/common/experimental_features.ts#L10-L23 Furthermore, this new setting takes precedence over the existing `xpack.fleet.enableExperimental` setting. The latter is now marked as deprecated to encourage users to use the new setting. I have attempted to replace existing references to `xpack.fleet.enableExperimental` accordingly. ### Docs change Preview: [docs/reference/configuration-reference/fleet-settings.md](https://docs-v3-preview.elastic.dev/elastic/kibana/pull/238840/reference/configuration-reference/fleet-settings) <img width="913" height="554" alt="Screenshot 2025-10-15 at 14 30 50" src="https://github.com/user-attachments/assets/43815fa6-f7a4-4dcf-8cf5-34058e29d163" /> ### Checklist - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the [docker list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker) - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) - [x] Review the [backport guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing) and apply applicable `backport:*` labels. ### Identify risks Low probability risk of Fleet experimental features incorrectly enabled or disabled. --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
Relates #238084
This PR adds a new
xpack.fleet.experimentalFeaturesconfig setting to allow enabling or disabling Fleet experimental features. Explicitly enabling or disabling using this setting overrides the default values defined here:kibana/x-pack/platform/plugins/shared/fleet/common/experimental_features.ts
Lines 10 to 23 in 82b2d2d
Furthermore, this new setting takes precedence over the existing
xpack.fleet.enableExperimentalsetting. The latter is now marked as deprecated to encourage users to use the new setting.I have attempted to replace existing references to
xpack.fleet.enableExperimentalaccordingly.Docs change
Preview: docs/reference/configuration-reference/fleet-settings.md
Checklist
release_note:*label is applied per the guidelinesbackport:*labels.Identify risks
Low probability risk of Fleet experimental features incorrectly enabled or disabled.