Adjust migrations and elasticsearch service settings for serverless. (#165050)

This commit is contained in:
Luke Elmers 2023-08-29 02:25:51 -06:00 committed by GitHub
parent 1a006a98f6
commit d6db6b7b4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,10 @@ xpack.cloud.base_url: "https://cloud.elastic.co"
# Enable ZDT migration algorithm
migrations.algorithm: zdt
# Limit batch size to reduce possibility of failures.
# A longer migration time is acceptable due to the ZDT algorithm.
migrations.batchSize: 250
# temporarily allow to run the migration on UI nodes
# until the controller is able to spawn the migrator job/pod
migrations.zdt:
@ -86,6 +90,9 @@ console.autocompleteDefinitions.endpointsAvailability: serverless
# Allow authentication via the Elasticsearch JWT realm with the `shared_secret` client authentication type.
elasticsearch.requestHeadersWhitelist: ["authorization", "es-client-authentication"]
# Limit maxSockets to 800 as we do in ESS, which improves reliability under high loads.
elasticsearch.maxSockets: 800
# Visualizations editors readonly settings
vis_type_gauge.readOnly: true
vis_type_heatmap.readOnly: true