-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(display): Output the size and type of disk #44
Conversation
Currently working through a problem where I need to understand the size and type of disks to help prioritize which ones to clean up. The command will now output the type and size(in GB).
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.
I like the direction this is going!
One thing I'd add are standard disk types (SSD
and HD
for now, I suppose), and then have each provider map their internal representation to one of the standard ones in DiskType
. Thoughts?
I like the idea of having standard disks then mapping the CSP disks back. Only nit is that I need to dig deeper at the differences between AWS/AKS. GCP is pretty easy in the sense that it's either SSH/HD, but I think AWS has many more types |
Yup. A quick search shows that there are 7 EBS volume types, and the In the case of Azure they don't seem to have any particular identifier for their managed disks, only the full text description. |
Azure:
AWS:
GCP: Returns a hyperlink to the hard drive type 🤡 |
Can't find anything in AWS, but here's the output for Azure now:
|
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.
Looking nicer on each commit! Thanks for working on this.
} | ||
|
||
type DiskType string |
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.
I love this 😸 good idea!
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.
Let me know if you need help adding these columns to the interactive UI.
Oh forgot all about the Interactive UI! Let me play around with a bit and I'll let you know |
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.
Currently working through a problem where I need to understand the size and type of disks to help prioritize which ones to clean up. The command will now output the type and size(in GB).