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
Air-gapped install of the {{artifact-registry}} is necessary in order to enable {{agent}} deployments to perform self-upgrades and install certain components which are needed for some of the data integrations (that is, in addition to what is also retrieved from the EPR). To learn more, refer to [Host your own artifact registry for binary downloads](/reference/fleet/air-gapped.md#host-artifact-registry) in the {{fleet}} and {{elastic-agent}} Guide.
@@ -170,10 +251,13 @@ When setting up own web server, such as NGINX, to function as the {{artifact-reg
170
251
171
252
### Additional {{artifact-registry}} examples
172
253
173
-
:::{dropdown} Artifact download script
254
+
:::::{dropdown} Artifact download script
174
255
175
256
The following example script downloads artifacts from the internet to be later served as a private Elastic Package Registry.
176
257
258
+
::::{tab-set}
259
+
260
+
:::{tab-item} Latest
177
261
```sh subs=true
178
262
#!/usr/bin/env bash
179
263
set -o nounset -o errexit -o pipefail
@@ -241,6 +325,77 @@ done
241
325
```
242
326
:::
243
327
328
+
::::::{tab-item} Specific version
329
+
Replace `<specific.version>` with the {{es}} version number you want. For example, you can replace `<specific.version>` with {{version.stack.base}}.
You can also use a `docker run` command to add or update secure settings in the keystore. You’ll be prompted to enter the setting values. If the keystore is encrypted, you’ll also be prompted to enter the keystore password.
If you’ve already created the keystore and don’t need to update it, you can bind-mount the `elasticsearch.keystore` file directly. You can use the `KEYSTORE_PASSWORD` environment variable to provide the keystore password to the container at startup. For example, a `docker run` command might have the following options:
85
117
@@ -93,10 +125,23 @@ If you’ve already created the keystore and don’t need to update it, you can
93
125
94
126
In some environments, it might make more sense to prepare a custom image that contains your configuration. A `Dockerfile` to achieve this might be as simple as:
95
127
128
+
::::{tab-set}
129
+
130
+
:::{tab-item} Latest
96
131
```sh subs=true
97
132
FROM docker.elastic.co/elasticsearch/elasticsearch:{{version.stack}}
If needed, adjust them in the Daemon or override them per container. For example, when using `docker run`, set:
139
151
@@ -166,9 +178,21 @@ To manually set the heap size in production, bind mount a [JVM options](elastics
166
178
167
179
For testing, you can also manually set the heap size using the `ES_JAVA_OPTS` environment variable. For example, to use 1GB, use the following command.
0 commit comments