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

Do not prepare local disks by default #1686

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Conversation

cartermckinnon
Copy link
Member

Description of changes:

This makes the setup-local-disks service unit on AL2023 a no-op by default. A followup PR will add an option to NodeConfig to set the local disk strategy (or otherwise configure the underlying unit).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@cartermckinnon cartermckinnon changed the base branch from master to main February 23, 2024 18:52
Comment on lines +7 to +8
Environment=LOCAL_DISK_STRATEGY=none
ExecStart=/usr/bin/setup-local-disks $LOCAL_DISK_STRATEGY
Copy link
Member

@ndbaker1 ndbaker1 Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds like we are gonna reuse the EnvironmentFile created via nodeadm approach here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep!

@cartermckinnon cartermckinnon changed the title Do not prepare local disks by default. Do not prepare local disks by default Feb 23, 2024
@cartermckinnon cartermckinnon merged commit 02bc7c2 into main Feb 23, 2024
6 of 7 checks passed
@cartermckinnon cartermckinnon deleted the disable-setup-local-disks branch February 23, 2024 19:52
atmosx pushed a commit to gathertown/amazon-eks-ami that referenced this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants