-
Notifications
You must be signed in to change notification settings - Fork 996
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
Volume of size 1GB is smaller than snapshot #3302
Comments
This was resolved by using |
This is the case with any blockDeviceMapping that you would use for any EC2 instance. You need to provide a blockDeviceMapping that is big enough to hold the size of the AMI snapshot that you are specifying. Do you know the size for your snapshot? |
Yes. The snapshot is 2GB and even when specifying a volume size using the string |
Have you tried launching an ec2 instance manually with the snapshot and the blockDeviceMapping and are you observing the same error. Trying to nail down if this is an issue with our launch or if this issue is deeper in EC2? |
It appears the UI has the units fixed at |
@bwmetcalf I think it's possible that our conversion is wrong here. Let me test it on my side and get back to you. We should be able to take both unit types into the |
@bwmetcalf Found a couple issues as a result of this bug. Linked the PRs. As a short-term fix until the changes are out, I'd recommend just using |
Awesome. Thanks for looking into this. |
Version
Karpenter Version: v0.22.1
Kubernetes Version: v1.24.0
Expected Behavior
We have the following node template (relevant parts shown):
and provisioner:
and expect a new node to spun up.
Actual Behavior
We are getting the following in the logs:
Steps to Reproduce the Problem
Install karpenter 0.22.1 and create node template similar to the above.
Resource Specs and Logs
See above.
Community Note
The text was updated successfully, but these errors were encountered: