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

fix: Windows - Changing docker files to be stored on secondary drive #1084

Merged
merged 1 commit into from
Oct 25, 2022
Merged

fix: Windows - Changing docker files to be stored on secondary drive #1084

merged 1 commit into from
Oct 25, 2022

Conversation

marciogmorales
Copy link
Contributor

@marciogmorales marciogmorales commented Oct 25, 2022

What does this PR do?

🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

The Windows self-managed node is being deployed with a secondary encrypted 50GB Amazon EBS disk as /dev/xvda, where the actual Userdata described in this script initializes the disk and formats but doesn't give any real usage. So, to enhance docker performance during node startup by avoiding concurrency disk I/O with the Operational system and image pulling, I'm proposing these additional lines in the scripts that set docker data to be stored on the secondary disk.

Motivation

To help customers fully utilize their AWS resources, I'm giving the existing secondary disk actual usage, which will help reduce NodeDiskPressure due to concurrence IO by having OS and Docker compete on the node initialization.

More

  • [ X ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I have added a new example under examples to support my PR
  • Yes, I have created another PR for add-ons under add-ons repo (if applicable)
  • Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

Note: Not all the PRs require a new example and/or doc page. In general:

  • Use an existing example when possible to demonstrate a new addons usage
  • A new docs page under docs/add-ons/* is required for new a new addon

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

In the image below, you can confirm that docker is now consuming the drive D as it is pulling images.

image (1)
image (2)

The Windows self-managed node is being deployed with an additional 100GB Amazon EBS disk, where the actual Userdata described in this script initializes the disk and formats but doesn't give any usage for the disk. So, to enhance docker performance during node startup by avoiding concurrency disk I/O with the Operational system and image pulling, I'm proposing these additional lines in the scripts that set docker data to be stored on the secondary disk.
@marciogmorales marciogmorales temporarily deployed to EKS Blueprints Test October 25, 2022 01:44 Inactive
@marciogmorales marciogmorales changed the title Changing docker files to be stored on secondary drive fix: Changing docker files to be stored on secondary drive Oct 25, 2022
@marciogmorales marciogmorales changed the title fix: Changing docker files to be stored on secondary drive fix: Windows - Changing docker files to be stored on secondary drive Oct 25, 2022
@bryantbiggs bryantbiggs merged commit e66db02 into aws-ia:main Oct 25, 2022
allamand pushed a commit to allamand/terraform-aws-eks-blueprints that referenced this pull request Dec 15, 2022
allamand pushed a commit to allamand/terraform-aws-eks-blueprints that referenced this pull request Jan 10, 2023
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.

None yet

2 participants