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
Copy file name to clipboardExpand all lines: machine_configuration/machine-config-pin-preload-images-about.adoc
+5-39Lines changed: 5 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -14,50 +14,16 @@ Pinning and preloading images can benefit a cluster that has a low bandwidth or
14
14
15
15
Preloading and pinning images prevents image garbage collection from removing the pinned images.
16
16
17
-
You can preload and pin images by using a a `PinnedImageSet` custom resource (CR) as described in the following section. Pinned images are stored in a file inside the `/etc/crio/crio.conf.d` directory. The name of this file is a concatenation of the name of the `PinnedImageSet` object and the UUID assigned to the object.
18
-
19
-
For example, the name of a pinned image file would be similar to the following name: `my-pinned-images-550a1d88-2976-4447-9fc7-b65e457a7f42.conf`. The contents of the file appear similar to the following example:
17
+
You can preload and pin images by using a a `PinnedImageSet` custom resource (CR) as described in the following section. Pinned images are stored in the file inside the `/etc/crio/crio.conf.d/50-pinned-iamges` directory. The contents of the file appear similar to the following example:
Before pulling the images, the Machine Config Operator (MCO) verifies that there is enough space available on each affected node to store the images. If the node has sufficient space, the MCO creates the pinned image file, pulls the images, and reloads CRI-O.
32
-
33
-
The `PinnedImageSet` object reports if the images have been pinned and pulled successfully or lists error conditions if the pin and pull fails.
34
-
35
-
.Example successful `PinnedImageSet` status
36
-
[source,yaml]
37
-
----
38
-
status:
39
-
conditions:
40
-
- type: Ready
41
-
status: "True"
42
-
- type: Failed
43
-
status: "False"
44
-
----
45
-
46
-
.Example filaed `PinnedImageSet` status
47
-
[source,yaml]
48
-
----
49
-
50
-
status:
51
-
conditions:
52
-
- type: Ready
53
-
status: "False"
54
-
- type: Failed
55
-
status: "True"
56
-
message: |
57
-
Pulling the images in `node12` requires at least 16 GiB of disk
Before pulling the images, the Machine Config Operator (MCO) verifies that there is enough space available on each affected node to store the images. If the node has sufficient space, the MCO creates the pinned image file, pulls the images, and reloads CRI-O.
lastFailedGenerationError: 'failed to execute podman manifest inspect for "quay.io/rh-ee/machine-config-operator@sha256:65d3a308767b1773b6e3499dde6ef085753d7e20e685f78841079":
105
+
exit status 125'
106
+
name: worker-pinned-images
107
+
----
81
108
82
109
* Check that the pinned image file is created and contains the correct images. The contents of the file appear similar to the following example:
0 commit comments