-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
Description
Introduction
Watches a directory under Elasticsearch config for changes to a file called settings.json. This is a JSON file describing the settings that the operator wants to set that will be immutable through the REST API. Any changes to these settings will only be allowed through modifying the file. As configured by default we watch for a path operator/settings.json under the config directory. The name of the directory operator can be changed via settings.
The File Settings Service will notice updates to the file and perform an update. The operator directory doesn't have to exist, the file setting service will notice when it's created. Recommended way to change operator file based settings is through modifying the settings.json file in a brand new location and then performing a symlink under the Elasticsearch config directory.
Initial support for File Based Settings was delivered in 8.4 through this PR: #88329
Remaining work
- Restore file settings state after snapshot restore (Handle snapshot restore in file settings #89321)
- /_cluster/settings (v8.4.0)
- /_ilm/policy/<policy_id> (v8.4.0)
- /_security/role_mapping (Operator/role mapping #89667)
- /_autoscaling/policy (Operator/autoscaling #89708)
- /_snapshot/cloud-snapshots (Add reserved snapshot/repo action #89601)
- /_slm/policy (Operator/slm policy #89567)
- /_ingest/pipeline/ (Operator/ingest #89735)
- /_index_template/ (Operator/index templates #90143)
- /_component_template/ (Operator/index templates #90143)