-
Notifications
You must be signed in to change notification settings - Fork 521
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
Add aws-ecs-2 variants #3273
Add aws-ecs-2 variants #3273
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, just some minor issues pointed out.
bd659f2
to
e1b2e70
Compare
Forced push includes:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might also want to update /~https://github.com/bottlerocket-os/bottlerocket/blob/develop/QUICKSTART-ECS.md to discuss why one might choose aws-ecs-1
vs aws-ecs-2
and once we release we will want to update this guide to use latest. Otherwise, looks like a good start!
e1b2e70
to
70e7077
Compare
(Forced push adds Boot Config APIs for both variants) |
@yeazelm probably the QUICKSTART docs wouldn't be a good place to compare variants. AFAIK, we don't have any docs where we explicitly call out why users should favor specific variants. I do think I can update the docs to point to the |
I think at least calling out that we recommend |
Maybe in the list of variants we should just go ahead and put something like "(deprecated)" next to the But good point that we kind of need something explaining what the differences are between 1 and 2. Maybe something for the project website? |
@stockholmux, is there a place on the website where the difference among the different variants for an orchestrator is documented? |
@arnaldo2792 It's mostly automatic. As part of the build process, the scripts pick the all the variants in a given minor release. However, |
@stockholmux I created the issue: bottlerocket-os/bottlerocket-project-website#198 @yeazelm, it seems like there is already an automated way to describe what is included in each variant but has to be “adapted” for ECS variants (see discussion above). Does that ease your concern? |
Yes, that works for me! |
@arnaldo2792 With regards to the The website quickstart shouldn't matter if it's ecs-1 or ecs-2 (grabs the latest from SSM after switching one character). Otherwise, there seems to be only some missing info about regions and nvidia variants, both of which should probably exist on the website eventually, but they seem like a weird fit for a quickstart. What I would propose is to cut down the Does this light anyone's hair aflame? |
The docker daemon knows how to detect the cgroups version used in the host. Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
70e7077
to
a26e59b
Compare
(rebase onto develop to include the changes suggested by @webern) |
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
a26e59b
to
6c37d5e
Compare
(forced push includes changes to reference |
I don't disagree, but I would like to keep that as a separate PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
# Don't rebuild crate just because of changes to README. | ||
exclude = ["README.md"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: it's a bit inconsistent to add this to aws-ecs-2
but not aws-ecs-2-nvidia
(or aws-ecs-1
as well). Doesn't actually matter since none of these have a README.md
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I saw that we have the same line for most of the variants. I can clean up all of them in a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Able to build, and looks fine to me.
Issue number:
Closes #2164
Description of changes:
This adds the
aws-ecs-2
variants family. Features included in these variants include:Testing done:
aws-ecs-2
aws-ecs-2-nvidia
I confirmed all the mentioned features are enabled:
aws-ecs-2
aws-ecs-2-nvidia
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.