|
1 | 1 | :_mod-docs-content-type: ASSEMBLY
|
2 | 2 | [id="machine-config-pin-preload-images-about"]
|
3 |
| -= About pinning and preloading images |
| 3 | += About pre-loading and pinning images |
4 | 4 | include::_attributes/common-attributes.adoc[]
|
5 | 5 | :context: machine-config-operator
|
6 | 6 |
|
7 | 7 | toc::[]
|
8 | 8 |
|
9 |
| -Slow, unreliable connection to an image registry can interfere with operations that require pulling images, such as updating a cluster or deploying an application. This can include clusters that have low bandwidth, clusters with unreliable internet connectivity, or clusters in a disconnected environment. |
| 9 | +A slow, unreliable connection to an image registry can interfere with operations that require pulling images, such as updating a cluster or deploying an application. This can include clusters that have low bandwidth, clusters with unreliable internet connectivity, or clusters in a disconnected environment. |
10 | 10 |
|
11 |
| -For example, a cluster update might require pulling more than one hundred images. Failure to pull those images could cause retries that can interfere with the update process and might cause the update to fail. One way to prevent this is to _preload_ the required images by pulling them in advance, before they are actually needed. Then, by _pinning_ them to a machine config pool, you ensure that the images are available when needed. Pinning and preloading images can provide a more consistent update, which is important when scheduling updates into maintenance windows. |
| 11 | +For example, a cluster update might require pulling more than one hundred images. Failure to pull those images could cause retries that can interfere with the update process and might cause the update to fail. One way to prevent this is to _pre-load_ the required images by pulling them in advance, before they are actually needed. Then, by _pinning_ them to a machine config pool, you ensure that the images are available when needed. Pre-loading and pinning images can provide a more consistent update, which is important when scheduling updates into maintenance windows. |
12 | 12 |
|
13 |
| -Pinning and preloading images also ensures that the images are available when deploying applications, which allows you to deploy in a predictable time. Another benefit to pinning and preloading images is that image garbage collection does not remove the pinned images. |
| 13 | +Pre-loading and pinning images also ensures that the images are available when deploying applications, so that you can deploy in a predictable time. Another benefit to pre-loading and pinning images is that image garbage collection does not remove the pinned images. |
14 | 14 |
|
15 |
| -You can pin and preload images by using a a `PinnedImageSet` custom resource (CR) as described in the following section. Pinned images are stored on the nodes in the `/etc/crio/crio.conf.d/50-pinned-images` file. The contents of the file appear similar to the following example: |
| 15 | +You can pre-load and pin images by using a a `PinnedImageSet` custom resource (CR), as described in _Pre-loading and pinning images_. Pinned images are stored on the nodes in the `/etc/crio/crio.conf.d/50-pinned-images` file. The contents of the file appear similar to the following example: |
16 | 16 |
|
17 | 17 | [source,terminal]
|
18 | 18 | ----
|
|
0 commit comments