You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add --agent-version flag for flexible Elastic Agent version configuration (#3054)
Added --agent-version flag to stack up, stack update, and test system commands
The flag defaults to the stack version if not specified, maintaining backward compatibility
Environment variables (ELASTIC_AGENT_IMAGE_REF_OVERRIDE) and configuration file settings (stack.image_ref_overrides.elastic-agent) still take precedence over the flag
System tests now support running with different agent versions, making it easier to test compatibility with older agent versions
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -488,6 +488,8 @@ _Context: global_
488
488
489
489
Use this command to spin up a Docker-based Elastic Stack consisting of Elasticsearch, Kibana, and the Package Registry. By default the latest released version of the stack is spun up but it is possible to specify a different version, including SNAPSHOT versions by appending --version <version>.
490
490
491
+
Use --agent-version to specify a different version for the Elastic Agent from the stack.
492
+
491
493
You can run your own custom images for Elasticsearch, Kibana or Elastic Agent, see [this document](./docs/howto/custom_images.md).
492
494
493
495
Be aware that a common issue while trying to boot up the stack is that your Docker environments settings are too low in terms of memory threshold.
@@ -542,6 +544,8 @@ Use this command to boot up the stack locally.
542
544
543
545
By default the latest released version of the stack is spun up but it is possible to specify a different version, including SNAPSHOT versions by appending --version <version>.
544
546
547
+
Use --agent-version to specify a different version for the Elastic Agent from the stack.
548
+
545
549
You can run your own custom images for Elasticsearch, Kibana or Elastic Agent, see [this document](./docs/howto/custom_images.md).
546
550
547
551
Be aware that a common issue while trying to boot up the stack is that your Docker environments settings are too low in terms of memory threshold.
Copy file name to clipboardExpand all lines: cmd/stack.go
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,8 @@ var availableServices = map[string]struct{}{
31
31
32
32
conststackLongDescription=`Use this command to spin up a Docker-based Elastic Stack consisting of Elasticsearch, Kibana, and the Package Registry. By default the latest released version of the stack is spun up but it is possible to specify a different version, including SNAPSHOT versions by appending --version <version>.
33
33
34
+
Use --agent-version to specify a different version for the Elastic Agent from the stack.
35
+
34
36
You can run your own custom images for Elasticsearch, Kibana or Elastic Agent, see [this document](./docs/howto/custom_images.md).
35
37
36
38
Be aware that a common issue while trying to boot up the stack is that your Docker environments settings are too low in terms of memory threshold.
@@ -43,6 +45,8 @@ const stackUpLongDescription = `Use this command to boot up the stack locally.
43
45
44
46
By default the latest released version of the stack is spun up but it is possible to specify a different version, including SNAPSHOT versions by appending --version <version>.
45
47
48
+
Use --agent-version to specify a different version for the Elastic Agent from the stack.
49
+
46
50
You can run your own custom images for Elasticsearch, Kibana or Elastic Agent, see [this document](./docs/howto/custom_images.md).
47
51
48
52
Be aware that a common issue while trying to boot up the stack is that your Docker environments settings are too low in terms of memory threshold.
0 commit comments