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
Best Answer
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
https://cloud.google.com/cloud-build/docs/build-config#options
https://cloud.google.com/cloud-build/docs/api/reference/rest/v1/projects.builds#buildoptions