@@ -17,6 +17,11 @@ For distributed units (DUs), {rh-rhacm} supports {product-title} deployments tha
17
17
* Create persistent volume custom resources (CR) for database and file system storage.
18
18
* You have installed the OpenShift CLI (`oc` ).
19
19
20
+ [IMPORTANT]
21
+ ====
22
+ Create a persistent volume resource for image storage. Failure to specify persistent volume storage for images can affect cluster performance.
23
+ ====
24
+
20
25
.Procedure
21
26
22
27
. Modify the `Provisioning` resource to allow the Bare Metal Operator to watch all namespaces:
@@ -42,27 +47,34 @@ spec:
42
47
- ReadWriteOnce
43
48
resources:
44
49
requests:
45
- storage: <db_volume_size > <1>
50
+ storage: <database_volume_size > <1>
46
51
filesystemStorage:
47
52
accessModes:
48
53
- ReadWriteOnce
49
54
resources:
50
55
requests:
51
- storage: <fs_volume_size> <2>
52
- osImages: <3>
53
- - openshiftVersion: "<ocp_version>" <4>
54
- version: "<ocp_release_version>" <5>
55
- url: "<iso_url>" <6>
56
- rootFSUrl: "<root_fs_url>" <7>
56
+ storage: <file_storage_volume_size> <2>
57
+ imageStorage:
58
+ accessModes:
59
+ - ReadWriteOnce
60
+ resources:
61
+ requests:
62
+ storage: <image_storage_volume_size> <3>
63
+ osImages: <4>
64
+ - openshiftVersion: "<ocp_version>" <5>
65
+ version: "<ocp_release_version>" <6>
66
+ url: "<iso_url>" <7>
67
+ rootFSUrl: "<root_fs_url>" <8>
57
68
cpuArchitecture: "x86_64"
58
69
----
59
70
<1> Volume size for the `databaseStorage` field, for example `10Gi`.
60
71
<2> Volume size for the `filesystemStorage` field, for example `20Gi`.
61
- <3> List of OS image details. Example describes a single {product-title} OS version.
62
- <4> {product-title} version to install, for example, `4.8`.
63
- <5> Specific install version, for example, `47.83.202103251640-0`.
64
- <6> ISO url, for example, `https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.7/4.7.7/rhcos-4.7.7-x86_64-live.x86_64.iso`.
65
- <7> Root FS image URL, for example, `https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.7/4.7.7/rhcos-live-rootfs.x86_64.img`
72
+ <3> Volume size for the `imageStorage` field, for example `2Gi`.
73
+ <4> List of OS image details, for example a single {product-title} OS version.
74
+ <5> {product-title} version to install, for example, `"4.8"`.
75
+ <6> Specific install version, for example, `47.83.202103251640-0`.
76
+ <7> ISO url, for example, `https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.7/4.7.7/rhcos-4.7.7-x86_64-live.x86_64.iso`.
77
+ <8> Root FS image URL, for example `https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.7/4.7.7/rhcos-live-rootfs.x86_64.img`.
66
78
67
79
.. Create the `AgentServiceConfig` CR by running the following command:
68
80
+
0 commit comments