Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitec0436a

Browse files
committed
Update disk space define and usage topics
Ported latest updates and images for disk space definition and usage from Classic
1 parentdc1e0c6 commitec0436a

File tree

3 files changed

+33
-16
lines changed

3 files changed

+33
-16
lines changed

‎_docs/pipelines/monitoring-pipelines.md‎

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,36 +312,49 @@ In both cases you can copy to clipboard the yaml shown using the button at the t
312312

313313
###Viewing pipeline metrics
314314

315-
Codefresh offers several metrics for pipeline steps that allow you to get a better overview on the resources
315+
###Viewing pipeline metrics
316+
317+
Codefresh offers several metrics for the pipeline, and for steps in the pipeline, that allow you to get a better overview of the resources
316318
consumed by your pipeline.
317319

318-
At the most basic level Codefresh will show some quick metrics while the pipeline is running that include
320+
**Pipeline metrics**
321+
322+
At the most basic level, Codefresh displays quick metrics while the pipeline is running that include
319323
memory consumed and size of logs:
320324

321325
{% include
322326
image.html
323327
lightbox="true"
324328
file="/images/pipeline/monitoring/quick-pipeline-metrics.png"
325329
url="/images/pipeline/monitoring/quick-pipeline-metrics.png"
326-
alt="Pipelinerunningmetrics"
327-
caption="Pipelinerunningmetrics"
328-
max-width="70%"
330+
alt="Metrics forrunningpipeline"
331+
caption="Metrics forrunningpipeline"
332+
max-width="95%"
329333
%}
330334

331-
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).
341+
342+
332343

333344
{% include
334345
image.html
335346
lightbox="true"
336347
file="/images/pipeline/monitoring/pipeline-metrics.png"
337348
url="/images/pipeline/monitoring/pipeline-metrics.png"
338-
alt="Pipeline detailedmetrics"
339-
caption="Pipeline detailedmetrics"
340-
max-width="70%"
349+
alt="Detailedmetrics for pipelines"
350+
caption="Detailedmetrics for pipelines"
351+
max-width="60%"
341352
%}
342353

343354

344-
If you click on an individual step before clicking the*Metrics* tab you will get metrics for that specific step only.
355+
**Pipeline-step metrics**
356+
For step-specific metrics, first select the step, and then click the**Metrics** tab.
357+
Step metrics are available for memory and CPU usage (not disk space).
345358

346359

347360
{% include
@@ -355,6 +368,7 @@ max-width="70%"
355368
%}
356369

357370

371+
358372
###Restarting the pipeline
359373

360374
You can choose to restart any pipeline by clicking the button at the top right corner.

‎_docs/pipelines/pipelines.md‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,16 +218,19 @@ You can define multiple external resources in a single pipeline.
218218
- Medium (recommended 3-4 steps)
219219
- Large (recommended 5-6 steps)
220220

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.
223224

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.
225226

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.
227229

228-
1. Select the pipeline for which to set the disk space.
230+
1. Select the pipeline for which to set theminimumdisk space.
229231
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.
233+
231234

232235
{% include
233236
image.html
91.1 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp