Closed jmunroe closed 2 months ago
This needs to be further refined by @yuvipanda
The core issue is that we use the cheapest BASIC_HDD tier, which only allows increasing size, not decreasing size.
So the steps here would be:
rclone
probably - sudo rclone sync --multi-thread-streams=12 --progress --links <src> <dst>
rclone
to finish the copyingterraform state rm
and terraform import
to 'import' the new filestore we created into terraform stateInstead of fiddling around with terraform state
(step 7 from above), we should do https://github.com/2i2c-org/infrastructure/issues/4334 instead.
All the tasks are now complete! 🎉
To support a short term requirement for a community on the latam.catalystproject.2i2c.cloud , I increased the Filestore size from 1TB to 6TB. I have now worked with the community to reduce their storage usage on that Filestore instance to more manageable 942GB (by off loading to persistent object storage)
I may be able to continue to reduce it as I work with individual users in this community. This cluster supports a total of ~10 hubs so I think that a Filestore allocation of 2TB is a reasonable tradeoff between minimizing cost and ensure communities do not run out of space.
Request: I realize now that reducing a Filestore allocation size is, unfortunately, not a trivial operation. Would @2i2c-org/engineering in its next iteration please:
(Or whatever procedure is recommended by @2i2c-org/engineering )