Skip to content

Commit 8ad985d

Browse files
authored
Merge pull request #45802 from ktothill/TELCODOCS-414
2 parents 525a24d + aea9eb9 commit 8ad985d

File tree

1 file changed

+24
-12
lines changed

1 file changed

+24
-12
lines changed

modules/ztp-ai-install-ocp-clusters-on-bare-metal.adoc

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ For distributed units (DUs), {rh-rhacm} supports {product-title} deployments tha
1717
* Create persistent volume custom resources (CR) for database and file system storage.
1818
* You have installed the OpenShift CLI (`oc`).
1919
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+
2025
.Procedure
2126

2227
. Modify the `Provisioning` resource to allow the Bare Metal Operator to watch all namespaces:
@@ -42,27 +47,34 @@ spec:
4247
- ReadWriteOnce
4348
resources:
4449
requests:
45-
storage: <db_volume_size> <1>
50+
storage: <database_volume_size> <1>
4651
filesystemStorage:
4752
accessModes:
4853
- ReadWriteOnce
4954
resources:
5055
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>
5768
cpuArchitecture: "x86_64"
5869
----
5970
<1> Volume size for the `databaseStorage` field, for example `10Gi`.
6071
<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`.
6678
6779
.. Create the `AgentServiceConfig` CR by running the following command:
6880
+

0 commit comments

Comments
 (0)