Skip to content

Commit 9ff940b

Browse files
committed
Added container registry config documentation
1 parent f3a53a4 commit 9ff940b

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

content/en/docs/measuring/configuration.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ machine:
6767
base_temperature_chip: False
6868
base_temperature_feature: False
6969

70+
container_registry:
71+
hostname: index.docker.io
72+
default_namespace: library
73+
insecure: False
74+
7075
measurement:
7176
system_check_threshold: 3 # Can be 1=INFO, 2=WARN or 3=ERROR
7277
pre-test-sleep: 5
@@ -98,12 +103,6 @@ admin:
98103

99104
The `postgresql`, `smtp` and `cluster` key were already discussed in the [installation →]({{< relref "/docs/installation/installation-linux" >}}) part.
100105

101-
### machine
102-
103-
If you run locally nothing needs to be configured here. But if you run a *cluster* you must set the base temperature values for the accuracy control to work
104-
105-
Please see [cluster installation →]({{< relref "/docs/cluster/installation" >}}) and [accuracy control →]({{< relref "/docs/cluster/accuracy-control" >}})
106-
107106
### cluster
108107

109108
Only the following three variables are important for a local installation:
@@ -114,6 +113,22 @@ Only the following three variables are important for a local installation:
114113

115114
For the rest please see [installation →]({{< relref "/docs/cluster/installation" >}})
116115

116+
### machine
117+
118+
If you run locally nothing needs to be configured here. But if you run a *cluster* you must set the base temperature values for the accuracy control to work
119+
120+
Please see [cluster installation →]({{< relref "/docs/cluster/installation" >}}) and [accuracy control →]({{< relref "/docs/cluster/accuracy-control" >}})
121+
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+
117132
### measurement
118133

119134
- `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.

0 commit comments

Comments
 (0)