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
I would like to be able to add Docker labels to the amazon/amazon-ecs-pause container so I can filter them from, e.g., monitoring or logging tools, which often run as daemons.
Description
With the ECS_AGENT_LABELS environment variable in the /etc/ecs/ecs.config file I can easily add additional Docker labels to the amazon/amazon-ecs-agent. I can use these labels to, e.g., prevent these containers from being instrumented or logged. Since a while, the ECS agent also launches an amazon/amazon-ecs-pause container. I was kind of hoping that this container would inherit the extra labels from the ECS_AGENT_LABELS setting, but it doesn't. Perhaps a separate environment variable for this would make sense otherwise? ECS_PAUSE_LABELS?
Summary
I would like to be able to add Docker labels to the
amazon/amazon-ecs-pause
container so I can filter them from, e.g., monitoring or logging tools, which often run as daemons.Description
With the
ECS_AGENT_LABELS
environment variable in the/etc/ecs/ecs.config
file I can easily add additional Docker labels to theamazon/amazon-ecs-agent
. I can use these labels to, e.g., prevent these containers from being instrumented or logged. Since a while, the ECS agent also launches anamazon/amazon-ecs-pause
container. I was kind of hoping that this container would inherit the extra labels from theECS_AGENT_LABELS
setting, but it doesn't. Perhaps a separate environment variable for this would make sense otherwise?ECS_PAUSE_LABELS
?Expected Behavior
For an
amazon/amazon-ecs-agent
container:For an
amazon/amazon-ecs-pause
container:Observed Behavior
For an
amazon/amazon-ecs-agent
container:For an
amazon/amazon-ecs-pause
container:The additional Docker label is not used.
Environment Details
Not relevant I think.
The text was updated successfully, but these errors were encountered: