Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd cgroup driver is unsupported #1118

Open
ziggythehamster opened this issue Oct 11, 2020 · 4 comments
Open

systemd cgroup driver is unsupported #1118

ziggythehamster opened this issue Oct 11, 2020 · 4 comments
Labels
ECS Amazon Elastic Container Service

Comments

@ziggythehamster
Copy link

ziggythehamster commented Oct 11, 2020

Some third-party work was started on this (aws/amazon-ecs-agent#1140), but never completed. I'm using CentOS 8 and would really rather use the systemd cgroup driver. I've also submitted an AWS support ticket for this feature request, but the support engineer requested I remove the ticket number.

@mssrivas mssrivas transferred this issue from aws/amazon-ecs-agent Oct 14, 2020
@taylorb-syd
Copy link

In addition for support for the systemd cgroup driver, it would also be useful to be able to provide an alternative parent. Right now tasks in ECS cannot have a parent specified.

@tabern tabern added the ECS Amazon Elastic Container Service label Nov 15, 2020
@ziggythehamster
Copy link
Author

Docker 20.01 is out now, which defaults to the systemd cgroup driver. The ECS agent will require changing the default to cgroupfs in order to work on Docker 20.01.

@tianon
Copy link

tianon commented Dec 23, 2020

It should be opportunistic based on whether the systemd driver is available/works: moby/moby#40846

(So if it isn't, it should automatically fall back appropriately and work just like 19.03)

@ziggythehamster
Copy link
Author

I think that aws/amazon-ecs-agent#3161 getting merged makes this work now, because I am able to get ECS to work correctly with native.cgroupdriver set to systemd, and the ECS slice shows up as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECS Amazon Elastic Container Service
Projects
None yet
Development

No branches or pull requests

4 participants