Skip to content

[feature] Add tini to Telegraf Docker Image #479

Open
@trastle

Description

@trastle

This has been discussed previously however I believe it's possibly worth another consideration.

I am running Telegraf in Kubernetes this makes the Docker --init flag discussed influxdata/telegraf#2820 in not an option. Kubernetes has no awareness of this Docker specific feature.

I am seeing the same problem described in influxdata/telegraf#2476 however I am using the current latest Telegraf container.

I acknowledge this is not a bug in Telegraf. This is a limitation of running as PID 1 in a Docker container. Given the Telegraf Docker container has more than 100 million pulls, there are clearly a lot of folk running Telegraf this way.

I believe adding tini into the container would be a net benefit as it will assist in avoiding this issues which was first raised over 3 years ago.

If the Telegraf team would entertain the PR I would be happy to make it.

Past Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions