gcloud no space left on device

6,695

I need to increase the Cloud Build allocating disk volume.

On my app.yaml file I have changed disk_size_gb from 100 to 200 it works now, You can set a max of 1000.

Cloud Platform Support

Share:
6,695

Related videos on Youtube

fernandus
Author by

fernandus

Updated on September 18, 2022

Comments

  • fernandus
    fernandus over 1 year

    My deployment was not successful with gcloud error log as.

    error building image: error building stage: write /kaniko/888833023: no space left on device Finished Step #1

    Do I need to increase space? how can I do it.

    On doing df

    Filesystem     1K-blocks    Used Available Use% Mounted on
    udev              292268       0    292268   0% /dev
    tmpfs              60676    8848     51828  15% /run
    /dev/sda1       10253568 2393224   7319880  25% /
    tmpfs             303372       0    303372   0% /dev/shm
    tmpfs               5120       0      5120   0% /run/lock
    tmpfs             303372       0    303372   0% /sys/fs/cgroup
    

    On doing df -i

    Filesystem     Inodes IUsed  IFree IUse% Mounted on
    udev            73067   279  72788    1% /dev
    tmpfs           75843   821  75022    2% /run
    /dev/sda1      655360 53024 602336    9% /
    tmpfs           75843     1  75842    1% /dev/shm
    tmpfs           75843     8  75835    1% /run/lock
    tmpfs           75843    15  75828    1% /sys/fs/cgroup
    
    • Lenniey
      Lenniey about 5 years
    • fernandus
      fernandus about 5 years
      I did df -i to check inode, it seems to have space left.
    • Lenniey
      Lenniey about 5 years
      OK, so no duplicate.
    • fernandus
      fernandus about 5 years
      Is there anything i need to check, On building image this happence.
    • fernandus
      fernandus about 5 years
      I have also cleared the Container Registry Images in my gcloud but not working getting same issue.
    • Michael Hampton
      Michael Hampton about 5 years
      Now you have space, but did you have space while you were building your image?
    • fernandus
      fernandus about 5 years
      Yes, I tried deployment, Facing the same issue.
    • ktaras
      ktaras about 5 years
      I've been using GCP (App Engine Flex for Ruby) for half a year and yesterday I stumbled upon exactly the same issue for the first time when running deployment. Maybe this is some GCP issue?
  • fernandus
    fernandus about 5 years
    Is that the change done by google, Its not working for me now.
  • ktaras
    ktaras about 5 years
    @fernandus, you'd better ask and describe your issue in that topic in Google Groups. Maybe that would be more helpful