Skip to content

Commit 32acc01

Browse files
authored
Merge pull request #67707 from dfitzmau/OCPBUGS-10640
OCPBUGS#10640: Added clarification point to disk partition BM doc
2 parents 537276e + 982d288 commit 32acc01

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

modules/installation-user-infra-machines-advanced.adoc

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,25 @@ The `--copy-network` option only copies networking configuration found under `/e
7373
[id="installation-user-infra-machines-advanced_disk_{context}"]
7474
== Disk partitioning
7575

76-
// This content is not modularized, so any updates to this "Disk partitioning" section should be checked against the module created for vSphere UPI parity in the module file named `installation-disk-partitioning.adoc` for consistency until such time as this large assembly can be modularized.
77-
7876
The disk partitions are created on {product-title} cluster nodes during the {op-system-first} installation. Each {op-system} node of a particular architecture uses the same partition layout, unless the default partitioning configuration is overridden. During the {op-system} installation, the size of the root file system is increased to use the remaining available space on the target device.
7977

80-
There are two cases where you might want to override the default partitioning when installing {op-system} on an {product-title} cluster node:
81-
82-
* Creating separate partitions: For greenfield installations on an empty
83-
disk, you might want to add separate storage to a partition. This is
84-
officially supported for mounting `/var` or a subdirectory of `/var`, such as `/var/lib/etcd`, on a separate partition, but not both.
85-
+
8678
[IMPORTANT]
8779
====
88-
For disk sizes larger than 100GB, and especially disk sizes larger than 1TB, create a separate `/var` partition. See "Creating a separate `/var` partition" and this link:https://access.redhat.com/solutions/5587281[Red Hat Knowledgebase article] for more information.
89-
====
90-
+
91-
[IMPORTANT]
92-
====
93-
Kubernetes supports only two file system partitions. If you add more than one partition to the original configuration, Kubernetes cannot monitor all of them.
80+
The use of a custom partition scheme on your node could result in {product-title} not monitoring or alerting on some node partitions. If you override the default partitioning, see link:https://access.redhat.com/articles/4766521[Understanding OpenShift File System Monitoring (eviction conditions)] for more information about how {product-title} monitors your host file systems.
9481
====
9582

96-
* Retaining existing partitions: For a brownfield installation where you are reinstalling {product-title} on an existing node and want to retain data partitions installed from your previous operating system, there are both boot arguments and options to `coreos-installer` that allow you to retain existing data partitions.
83+
{product-title} monitors the following two filesystem identifiers:
84+
85+
* `nodefs`, which is the filesystem that contains `/var/lib/kubelet`
86+
* `imagefs`, which is the filesystem that contains `/var/lib/containers`
87+
88+
For the default partition scheme, `nodefs` and `imagefs` monitor the same root filesystem, `/`.
9789

98-
[WARNING]
90+
To override the default partitioning when installing {op-system} on an {product-title} cluster node, you must create separate partitions. You might want to add a separate storage partition for your containers and container images. For example, by mounting `/var/lib/containers` in a separate partition, the kubelet separately monitors `/var/lib/containers` as the `imagefs` directory and the root file system as the `nodefs` directory.
91+
92+
[IMPORTANT]
9993
====
100-
The use of custom partitions could result in those partitions not being monitored by {product-title} or alerted on. If you are overriding the default partitioning, see link:https://access.redhat.com/articles/4766521[Understanding OpenShift File System Monitoring (eviction conditions)] for more information about how {product-title} monitors your host file systems.
94+
If you resized your disk size to host a larger file system, consider creating a separate `/var/lib/containers` partition. This is important for a disk formatted to `xfs`, where a high number of allocation groups might cause CPU time issues.
10195
====
10296

10397
[id="installation-user-infra-machines-advanced_vardisk_{context}"]

0 commit comments

Comments
 (0)