Fix hints autodiscovery init container doc#5640
Merged
Merged
Conversation
Update the initContainer example to use a versioned Elastic Agent image and the main branch tarball path, and clarify the ECK volume naming caveat. Also fix minor command and spelling issues in the troubleshooting and Kubernetes log-collection sections. Made-with: Cursor
Contributor
🔍 Preview links for changed docs |
Contributor
Vale Linting ResultsSummary: 2 suggestions found 💡 Suggestions (2)
The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
jeanfabrice
previously requested changes
Mar 27, 2026
jeanfabrice
left a comment
Contributor
There was a problem hiding this comment.
Suggest change in eck volume name
| - name: elastic-agent-state <1> | ||
| mountPath: /usr/share/elastic-agent/state | ||
| ``` | ||
| 1. If you are integrating this init container into {{eck}} manifests, verify the `volume` name defined in the Pod spec, which is usually `elastic-data` rather than `elastic-agent-state`. |
Contributor
There was a problem hiding this comment.
As per #5397 (comment) and https://github.com/elastic/cloud-on-k8s/blob/3621d102f91279baf31f9132add3b51ce3b1d0d7/pkg/controller/agent/pod.go#L56, ECK use volume "agent-data", not "elastic-data"
theletterf
approved these changes
Mar 27, 2026
eedugon
commented
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
masterimage/tag guidance with versioned image usage ({{version.stack}}) in the initContainer example.mainpaths and use explicit--strip-components=5behavior.elastic-datavselastic-agent-state) and fix two minor doc typos (kuernetes,cat f).Test plan
reference/fleet/hints-annotations-autodiscovery.mdis changed in this PR.elastic-agent-main/).Made with Cursor
Relates with #5397