mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[kbn/es] disable geoip downloader at the root (#98372)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
0b16688a24
commit
31660419ea
3 changed files with 8 additions and 3 deletions
|
@ -246,7 +246,10 @@ exports.Cluster = class Cluster {
|
|||
this._log.info(chalk.bold('Starting'));
|
||||
this._log.indent(4);
|
||||
|
||||
const esArgs = ['action.destructive_requires_name=true'].concat(options.esArgs || []);
|
||||
const esArgs = [
|
||||
'action.destructive_requires_name=true',
|
||||
'ingest.geoip.downloader.enabled=false',
|
||||
].concat(options.esArgs || []);
|
||||
|
||||
// Add to esArgs if ssl is enabled
|
||||
if (this._ssl) {
|
||||
|
@ -272,7 +275,7 @@ exports.Cluster = class Cluster {
|
|||
// especially because we currently run many instances of ES on the same machine during CI
|
||||
options.esEnvVars.ES_JAVA_OPTS =
|
||||
(options.esEnvVars.ES_JAVA_OPTS ? `${options.esEnvVars.ES_JAVA_OPTS} ` : '') +
|
||||
'-Xms2g -Xmx2g';
|
||||
'-Xms1g -Xmx1g';
|
||||
|
||||
this._process = execa(ES_BIN, args, {
|
||||
cwd: installPath,
|
||||
|
|
|
@ -266,6 +266,7 @@ describe('#start(installPath)', () => {
|
|||
Array [
|
||||
Array [
|
||||
"action.destructive_requires_name=true",
|
||||
"ingest.geoip.downloader.enabled=false",
|
||||
],
|
||||
undefined,
|
||||
Object {
|
||||
|
@ -344,6 +345,7 @@ describe('#run()', () => {
|
|||
Array [
|
||||
Array [
|
||||
"action.destructive_requires_name=true",
|
||||
"ingest.geoip.downloader.enabled=false",
|
||||
],
|
||||
undefined,
|
||||
Object {
|
||||
|
|
|
@ -21,7 +21,7 @@ export default function () {
|
|||
servers,
|
||||
|
||||
esTestCluster: {
|
||||
serverArgs: ['xpack.security.enabled=false', 'geoip.downloader.enabled=false'],
|
||||
serverArgs: ['xpack.security.enabled=false'],
|
||||
},
|
||||
|
||||
kbnTestServer: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue