Skip to content

Commit b67c993

Browse files
committed
Removing outdated keys and adding full_docker_prune_whitelist
1 parent 585f970 commit b67c993

File tree

1 file changed

+8
-31
lines changed

1 file changed

+8
-31
lines changed

content/en/docs/measuring/configuration.md

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ cluster:
4343
client:
4444
sleep_time_no_job: 300
4545
jobs_processing: "random"
46+
shutdown_on_job_no: False
47+
# These two parameters have only effect in cluster mode. When using CLI they will be set via flags --docker-prune and --full-docker-prune only
48+
docker_prune: True
49+
full_docker_prune: False
50+
# define a workload to check cluster noise floor
4651
time_between_control_workload_validations: 21600
4752
send_control_workload_status_mail: False
48-
shutdown_on_job_no: False
4953
control_workload:
5054
name: "Measurement control Workload"
5155
uri: "https://github.com/green-coding-solutions/measurement-control-workload"
@@ -67,20 +71,10 @@ machine:
6771
base_temperature_chip: False
6872
base_temperature_feature: False
6973

70-
container_registry:
71-
hostname: index.docker.io
72-
default_namespace: library
73-
insecure: False
7474

7575
measurement:
76-
system_check_threshold: 3 # Can be 1=INFO, 2=WARN or 3=ERROR
77-
pre-test-sleep: 5
78-
idle-duration: 5
79-
baseline-duration: 5
80-
post-test-sleep: 5
81-
phase-transition-time: 1
82-
boot:
83-
wait_time_dependencies: 60
76+
full_docker_prune_whitelist:
77+
- gcr.io/kaniko-project/executor
8478
metric-providers:
8579
linux:
8680
cpu.utilization.cgroup.container.provider.CpuUtilizationCgroupContainerProvider:
@@ -119,26 +113,9 @@ If you run locally nothing needs to be configured here. But if you run a *cluste
119113

120114
Please see [cluster installation →]({{< relref "/docs/cluster/installation" >}}) and [accuracy control →]({{< relref "/docs/cluster/accuracy-control" >}})
121115

122-
#### container_registry
123-
124-
This key defines how GMT pulls images to run and which registry it uses to build images.
125-
126-
The default configuration contains the settings for *Docker Hub*.
127-
128-
- `hostname` **[string]**: URI of the registry. Can contain a port: e.g. my-registry.io:5000
129-
- `default_namespace` **[string]**: Can be empty. Many custom registries use `library`. So does *Docker Hub*
130-
- `insecure` **[bool]**: *True* if you use TLS. *False* otherwise
131-
132116
### measurement
133117

134-
- `system_check_threshold` **[integer]: Level at which an exception will be raised for system checks. The lower the more restrictive system checks are. We recommend *3* for development and *2* for cluster setups. *1* only for debugging.
135-
- `pre-test-sleep` **[integer]**: Seconds to idle containers after orchestrating but before start of measurement
136-
- `post-test-sleep` **[integer]**: Seconds to idle containers after measurement
137-
- `idle-duration` **[integer]**: Duration in seconds for the idle phase
138-
- `baseline-duration` **[integer]**: Duration in seconds for the baseline phase
139-
- `phase-transition-time` **[integer]**: Seconds to idle between phases
140-
- `boot`:
141-
+ `wait_time_dependencies`: **[integer]**: Max. duration in seconds to wait for dependencies (defined with `depends_on`) to be ready. If duration is reached and a dependency is not ready, the measurement will fail.
118+
- `full_docker_prune_whitelist` **[list]**: A list of image names (without tag) or image IDs (short form) that will be whitelisted when `--full-docker-prune` is active. Images listed here will not be pruned. Useful for cluster installations where non security critical images shall be kept that take long to download.
142119
- `metric-providers`:
143120
+ `linux`/`macos`/`common` **[string]**: Specifies under what system the metric provider can run. Common implies it could run on either.
144121
* `METRIC_PROVIDER_NAME` **[string]**: Key specifies the Metric Provider. [Possible Metric Providers →]({{< relref "/docs/measuring/metric-providers/metric-providers-overview" >}})

0 commit comments

Comments
 (0)