Skip to content

[agents] Read k8s metadata from the /proc filesystem #27

@roncohen

Description

@roncohen

Similar to #22, it turns out you can in most circumstances read the k8s metadata from inside the container.

This issue follows on the work in #21 and is about reading the data automatically, so users don't need to use the Downward API. If environment variables are set, they should take precedence.

Please see @axw's comment for the implementation details: #21 (comment)

@elastic/apm-agent-devs Please link your issue or PR and then mark the checkbox when the implementation is merged:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions