Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get more disk space on Cloud Shell?

I'm using Cloud Shell to deploy an application to GKE, and I've run out of disk space during the build:

overlay          31G   31G   44M 100% /
tmpfs           848M     0  848M   0% /dev
tmpfs           848M     0  848M   0% /sys/fs/cgroup
/dev/sda1        31G   31G   44M 100% /root
/dev/sdb1       4.8G   85M  4.5G   2% /home
tmpfs           848M  716K  847M   1% /run/metrics
overlayfs       1.0M  116K  908K  12% /etc/ssh/keys
shm              64M     0   64M   0% /dev/shm
overlayfs       1.0M  116K  908K  12% /etc/ssh/ssh_host_rsa_key
tmpfs           848M     0  848M   0% /run/google/devshell

...AIUI, /dev/sda1 is the underlying VM's disk, and it seems to be 31G. And it's full, which is causing skaffold run to fail. Can I (temporarily|permanently) get more space on that disk?

like image 401
davidstanke Avatar asked Oct 30 '25 02:10

davidstanke


1 Answers

There is currently no way to temporarily or permanently get more Cloud Shell disk space on the boot disk, but we have recently bumped everyone's disk size by 5G to give a bit more headroom. Check back in a few days when this change fully rolls out. We are also looking into optimizing the size of the default Cloud Shell image to reduce its footprint on the VM.

like image 51
MaratB Avatar answered Nov 02 '25 23:11

MaratB



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!