You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
You can then get the memory usage for the whole pipeline by clicking on the metrics tab at the bottom of the screen.
335
+
* To view memory and disk usage for running or completed pipeline builds, click the**Metrics** tab at the bottom of the Build page.
336
+
337
+
* Memory usage: View memory usage (Y-axis) by time (X-axis) for the duration of the build.
338
+
* Disk usage: View disk usage (Y-axis) by time (X-axis) for the duration of the build. The red line is set at 90% of the maximum disk space.
339
+
To see the precise usage at different points in time, mouse over the dots.
340
+
Viewing the actual disk usage for a build during its run allows you to better gauge and define the[minimum disk space required for the build volume]({{site.baseurl}}/docs/pipelines/pipelines/#runtime).
Copy file name to clipboardExpand all lines: _docs/pipelines/pipelines.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,16 +218,19 @@ You can define multiple external resources in a single pipeline.
218
218
- Medium (recommended 3-4 steps)
219
219
- Large (recommended 5-6 steps)
220
220
221
-
####Set disk space for pipeline builds
222
-
Set the disk space you need for the pipeline's build volume. Configuring the disk space per pipeline build volume prevents out-of-space scenarios that lead to failed builds. The disk space set for the pipeline is inherited by all the builds run for the pipeline.
221
+
####Set minimum disk space for a pipeline build
222
+
To speed up builds and improve performance, Codefresh caches different types of data during pipeline execution for reuse across builds. Image-caching is one example of cached data, where Codefresh pulls the required images during the first build and caches them for reuse in future builds. For more info, see[Pipeline caching]({{site.baseurl}}docs/configure-ci-cd-pipeline/pipeline-caching).
223
+
Because a portion of the disk space is already utilized by cache, a build can run out of disk space and fail with the 'no space left on device' error.
223
224
224
-
Codefresh calculates the available range according tothe disk size, and automatically sets the disk space for the build volume to 70% ofthetotal disk space. You caneitherretain the default allocationorchange as needed.
225
+
To prevent out-of-space scenarios that lead tofailed builds, you can set theminimumdisk spaceyou needfor thepipeline'sbuild volume. Definingtheminimum disk space ensures that Codefresh assignseithera cached disk with sufficient disk spaceora new empty disk at the start of the build.
225
226
226
-
>You can also configure the disk space for a[specific trigger]({{site.baseurl}}/docs/pipelines/triggers/git-triggers/#set-minimum-disk-space-for-build-volume-by-trigger) used by the pipeline or for a specific run, and override what's set for the pipeline.
227
+
The disk space set for the pipeline is inherited by all the builds run for the pipeline.
228
+
You can also configure the disk space for a[specific trigger]({{site.baseurl}}/docs/configure-ci-cd-pipeline/triggers/git-triggers/#set-minimum-disk-space-for-build-volume-by-trigger) used by the pipeline or for a specific run, and override what's set for the pipeline.
227
229
228
-
1. Select the pipeline for which to set the disk space.
230
+
1. Select the pipeline for which to set theminimumdisk space.
229
231
1. Select**Settings**, and then**Runtime**.
230
-
1. Enable**Set minimum required disk space** and either retain the default displayed or change as needed.
232
+
1. Enable**Set minimum required disk space**, and either retain the default displayed or change as needed.