[@kbn/es] Disable ES disk usage threshold (#123674) (#126614)

(cherry picked from commit 49ad5846ae)

# Conflicts:
#	packages/kbn-es/src/cluster.js
#	packages/kbn-es/src/integration_tests/cluster.test.js
This commit is contained in:
Tyler Smalley 2022-03-01 09:43:29 -08:00 committed by GitHub
parent 1929b2dae2
commit b2e85d7a03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -260,6 +260,7 @@ exports.Cluster = class Cluster {
const esArgs = [
'action.destructive_requires_name=true',
'ingest.geoip.downloader.enabled=false',
'cluster.routing.allocation.disk.threshold_enabled=false',
].concat(options.esArgs || []);
// Add to esArgs if ssl is enabled

View file

@ -309,6 +309,7 @@ describe('#start(installPath)', () => {
Array [
"action.destructive_requires_name=true",
"ingest.geoip.downloader.enabled=false",
"cluster.routing.allocation.disk.threshold_enabled=false",
],
undefined,
Object {
@ -387,6 +388,7 @@ describe('#run()', () => {
Array [
"action.destructive_requires_name=true",
"ingest.geoip.downloader.enabled=false",
"cluster.routing.allocation.disk.threshold_enabled=false",
],
undefined,
Object {