-
Notifications
You must be signed in to change notification settings - Fork 795
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 attachment limit scripts to hack/cluster-debugging-scripts #1857
Add attachment limit scripts to hack/cluster-debugging-scripts #1857
Conversation
Code Coverage DiffThis PR does not change the code coverage |
eb469b8
to
28cc128
Compare
9aa12a7
to
da81e5a
Compare
/lgtm But you need to run |
da81e5a
to
ff8a79e
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ConnorJC3 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Is this a bug fix or adding new feature?
Cluster debugging tool
What is this PR about? / Why do we need it?
NOTE: This PR is an expansion of #1852
These scripts help answer the question:
How can I validate that the aws-ebs-csi-driver correctly makes use of all available attachment slots for instance type X?
This question is important because the aws-ebs-csi-driver currently hard-codes the attachment limit for each EC2 Instance family and type (Due to not having an EC2 API that outputs the attachment limit of a given instance type, and whether Non-EBS-volume-attachments count towards that limit).
See README.md for overview of each script. At a high level:
generate_example_manifest.go
from the templatedevice_slot_test.tmpl
What testing is done?
Tested on m5.large and m7g.large nodegroups. M7g.large has 28 volume limit including ENIs. When instance had 1 root volume + 2 ENIs, Script correctly discovered 25 to be max amount of EBS-backed PVs a pod can be created with.