Skip to content

Commit c351674

Browse files
authored
Update free system space requirement (#765)
* Update free system space requirement Signed-off-by: Jian Wang <[email protected]> * Address comments and add a caution Signed-off-by: Jian Wang <[email protected]> --------- Signed-off-by: Jian Wang <[email protected]>
1 parent 230d04c commit c351674

File tree

6 files changed

+72
-3
lines changed

6 files changed

+72
-3
lines changed

docs/install/requirements.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Harvester nodes have the following hardware requirements and recommendations for
2626
| :--- | :--- | :--- |
2727
| CPU | ARM64 or x86_64 (with hardware-assisted virtualization); 8 cores minimum | ARM64 or x86_64 (with hardware-assisted virtualization); 16 cores minimum |
2828
| Memory | 32 GB minimum | 64 GB minimum |
29-
| Disk capacity | 250 GB minimum (180 GB minimum when using multiple disks) | 500 GB minimum |
29+
| Disk capacity | 250 GB minimum (180 GB minimum when using multiple disks) | 500 GB minimum, 1 TB or more recommended |
3030
| Disk performance | 5,000+ random IOPS per disk (SSD/NVMe); management node storage must meet [etcd](https://www.suse.com/support/kb/doc/?id=000020100) speed requirements. Only local disks and hardware RAID are supported. | 5,000+ random IOPS per disk (SSD/NVMe); management node storage must meet [etcd](https://www.suse.com/support/kb/doc/?id=000020100) speed requirements. Only local disks and hardware RAID are supported. |
3131
| Network card count | Management cluster network: 1 NIC required, 2 NICs recommended; VM workload network: 1 NIC required, at least 2 NICs recommended (does not apply to the [witness node](../advanced/witness.md)) | Management cluster network: 1 NIC required, 2 NICs recommended; VM workload network: 1 NIC required, at least 2 NICs recommended (does not apply to the [witness node](../advanced/witness.md)) |
3232
| Network card speed | 1 Gbps Ethernet minimum | 10 Gbps Ethernet minimum |
@@ -39,6 +39,7 @@ Harvester nodes have the following hardware requirements and recommendations for
3939
- Each node must have a unique `product_uuid` (fetched from `/sys/class/dmi/id/product_uuid`) to prevent errors from occurring during VM live migration and other operations. For more information, see [Issue #4025](https://github.com/harvester/harvester/issues/4025).
4040
- Harvester has a [built-in management cluster network](../networking/clusternetwork.md#built-in-cluster-network) (`mgmt`). To achieve high availability and the best performance in production environments, use at least two NICs in each node to set up a bonded NIC for the management network (see step 6 in [ISO Installation](../install/iso-install.md#installation-steps)). You can also create [custom cluster networks](../networking/clusternetwork.md#custom-cluster-network) for VM workloads. Each custom cluster network requires at least two additional NICs to set up a bonded NIC in every involved node of the Harvester cluster. The [witness node](../advanced/witness.md) does not require additional NICs. For more information, see [Cluster Network](../networking/clusternetwork.md#concepts).
4141
- During testing, you can use only one NIC for the [built-in management cluster network](../networking/clusternetwork.md#built-in-cluster-network) (`mgmt`), and for testing the [VM network](../networking/harvester-network.md#create-a-vm-network) that is also carried by `mgmt`. High availability and optimal performance are not guaranteed.
42+
- If the disk only meets the minimum required capacity, you may encounter issues related to the [free system partition space requirement](../upgrade/automatic.md#free-system-partition-space-requirement) during upgrades.
4243
:::
4344

4445
### CPU Specifications

docs/upgrade/automatic.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,28 @@ Setting a smaller value than the pre-defined value may cause the upgrade to fail
175175
176176
:::
177177
178+
The following sections describe solutions for issues related to this requirement.
179+
180+
### Free System Partition Space Manually
181+
182+
Harvester attempts to remove unnecessary container images after an upgrade is completed. However, this automatic image cleanup may not be performed for various reasons. You can use [this script](https://github.com/harvester/upgrade-helpers/blob/main/bin/harv-purge-images.sh) to manually remove images. For more information, see issue [#6620](https://github.com/harvester/harvester/issues/6620).
183+
184+
### Set Up a Private Container Registry and Skip Image Preloading
185+
186+
The system partition might still lack free space even after you remove images. To address this, set up a private container registry for both current and new images, and configure the setting [`upgrade-config`](advanced/settings.md#upgrade-config) with following value:
187+
188+
```
189+
{"imagePreloadOption":{"strategy":{"type":"skip"}}, "restoreVM": false}
190+
```
191+
192+
Harvester skips the upgrade image preloading process. When the deployments on the nodes are upgraded, the container runtime loads the images stored in the private container registry.
193+
194+
:::caution
195+
196+
Do not rely on the public container registry. Note any potential internet service interruptions and how close you are to reaching your [Docker Hub rate limit](https://www.docker.com/increase-rate-limits/). Failure to download any of the required images may cause the upgrade to fail and may leave the cluster in a middle state.
197+
198+
:::
199+
178200
## VM Backup Compatibility
179201
180202
In Harvester v1.4.2 and later versions, you may encounter certain limitations when creating and restoring [backups that involve external storage](../../versioned_docs/version-v1.4/advanced/csidriver.md#vm-backup-compatibility)

versioned_docs/version-v1.4/install/requirements.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Harvester nodes have the following hardware requirements and recommendations for
2626
| :--- | :--- | :--- |
2727
| CPU | ARM64 or x86_64 (with hardware-assisted virtualization); 8 cores minimum | ARM64 or x86_64 (with hardware-assisted virtualization); 16 cores minimum |
2828
| Memory | 32 GB minimum | 64 GB minimum |
29-
| Disk capacity | 250 GB minimum (180 GB minimum when using multiple disks) | 500 GB minimum |
29+
| Disk capacity | 250 GB minimum (180 GB minimum when using multiple disks) | 500 GB minimum, 1 TB or more recommended |
3030
| Disk performance | 5,000+ random IOPS per disk (SSD/NVMe); management node storage must meet [etcd](https://www.suse.com/support/kb/doc/?id=000020100) speed requirements. Only local disks and hardware RAID are supported. | 5,000+ random IOPS per disk (SSD/NVMe); management node storage must meet [etcd](https://www.suse.com/support/kb/doc/?id=000020100) speed requirements. Only local disks and hardware RAID are supported. |
3131
| Network card count | Management cluster network: 1 NIC required, 2 NICs recommended; VM workload network: 1 NIC required, at least 2 NICs recommended (does not apply to the [witness node](../advanced/witness.md)) | Management cluster network: 1 NIC required, 2 NICs recommended; VM workload network: 1 NIC required, at least 2 NICs recommended (does not apply to the [witness node](../advanced/witness.md)) |
3232
| Network card speed | 1 Gbps Ethernet minimum | 10 Gbps Ethernet minimum |
@@ -38,6 +38,7 @@ Harvester nodes have the following hardware requirements and recommendations for
3838
- Each node must have a unique `product_uuid` (fetched from `/sys/class/dmi/id/product_uuid`) to prevent errors from occurring during VM live migration and other operations. For more information, see [Issue #4025](https://github.com/harvester/harvester/issues/4025).
3939
- Harvester has a [built-in management cluster network](../networking/clusternetwork.md#built-in-cluster-network) (`mgmt`). To achieve high availability and the best performance in production environments, use at least two NICs in each node to set up a bonded NIC for the management network (see step 6 in [ISO Installation](../install/iso-install.md#installation-steps)). You can also create [custom cluster networks](../networking/clusternetwork.md#custom-cluster-network) for VM workloads. Each custom cluster network requires at least two additional NICs to set up a bonded NIC in every involved node of the Harvester cluster. The [witness node](../advanced/witness.md) does not require additional NICs. For more information, see [Cluster Network](../networking/clusternetwork.md#concepts).
4040
- During testing, you can use only one NIC for the [built-in management cluster network](../networking/clusternetwork.md#built-in-cluster-network) (`mgmt`), and for testing the [VM network](../networking/harvester-network.md#create-a-vm-network) that is also carried by `mgmt`. High availability and optimal performance are not guaranteed.
41+
- If the disk only meets the minimum required capacity, you may encounter issues related to the [free system partition space requirement](../upgrade/automatic.md#free-system-partition-space-requirement) during upgrades.
4142
:::
4243

4344
### CPU Specifications

versioned_docs/version-v1.4/upgrade/automatic.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,28 @@ Setting a smaller value than the pre-defined value may cause the upgrade to fail
174174
175175
:::
176176
177+
The following sections describe solutions for issues related to this requirement.
178+
179+
### Free System Partition Space Manually
180+
181+
Harvester attempts to remove unnecessary container images after an upgrade is completed. However, this automatic image cleanup may not be performed for various reasons. You can use [this script](https://github.com/harvester/upgrade-helpers/blob/main/bin/harv-purge-images.sh) to manually remove images. For more information, see issue [#6620](https://github.com/harvester/harvester/issues/6620).
182+
183+
### Set Up a Private Container Registry and Skip Image Preloading
184+
185+
The system partition might still lack free space even after you remove images. To address this, set up a private container registry for both current and new images, and configure the setting [`upgrade-config`](advanced/settings.md#upgrade-config) with following value:
186+
187+
```
188+
{"imagePreloadOption":{"strategy":{"type":"skip"}}, "restoreVM": false}
189+
```
190+
191+
Harvester skips the upgrade image preloading process. When the deployments on the nodes are upgraded, the container runtime loads the images stored in the private container registry.
192+
193+
:::caution
194+
195+
Do not rely on the public container registry. Note any potential internet service interruptions and how close you are to reaching your [Docker Hub rate limit](https://www.docker.com/increase-rate-limits/). Failure to download any of the required images may cause the upgrade to fail and may leave the cluster in a middle state.
196+
197+
:::
198+
177199
## Longhorn Manager Crashes Due to Backing Image Eviction
178200
179201
:::caution

versioned_docs/version-v1.5/install/requirements.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Harvester nodes have the following hardware requirements and recommendations for
2626
| :--- | :--- | :--- |
2727
| CPU | ARM64 or x86_64 (with hardware-assisted virtualization); 8 cores minimum | ARM64 or x86_64 (with hardware-assisted virtualization); 16 cores minimum |
2828
| Memory | 32 GB minimum | 64 GB minimum |
29-
| Disk capacity | 250 GB minimum (180 GB minimum when using multiple disks) | 500 GB minimum |
29+
| Disk capacity | 250 GB minimum (180 GB minimum when using multiple disks) | 500 GB minimum, 1 TB or more recommended |
3030
| Disk performance | 5,000+ random IOPS per disk (SSD/NVMe); management node storage must meet [etcd](https://www.suse.com/support/kb/doc/?id=000020100) speed requirements. Only local disks and hardware RAID are supported. | 5,000+ random IOPS per disk (SSD/NVMe); management node storage must meet [etcd](https://www.suse.com/support/kb/doc/?id=000020100) speed requirements. Only local disks and hardware RAID are supported. |
3131
| Network card count | Management cluster network: 1 NIC required, 2 NICs recommended; VM workload network: 1 NIC required, at least 2 NICs recommended (does not apply to the [witness node](../advanced/witness.md)) | Management cluster network: 1 NIC required, 2 NICs recommended; VM workload network: 1 NIC required, at least 2 NICs recommended (does not apply to the [witness node](../advanced/witness.md)) |
3232
| Network card speed | 1 Gbps Ethernet minimum | 10 Gbps Ethernet minimum |
@@ -39,6 +39,7 @@ Harvester nodes have the following hardware requirements and recommendations for
3939
- Each node must have a unique `product_uuid` (fetched from `/sys/class/dmi/id/product_uuid`) to prevent errors from occurring during VM live migration and other operations. For more information, see [Issue #4025](https://github.com/harvester/harvester/issues/4025).
4040
- Harvester has a [built-in management cluster network](../networking/clusternetwork.md#built-in-cluster-network) (`mgmt`). To achieve high availability and the best performance in production environments, use at least two NICs in each node to set up a bonded NIC for the management network (see step 6 in [ISO Installation](../install/iso-install.md#installation-steps)). You can also create [custom cluster networks](../networking/clusternetwork.md#custom-cluster-network) for VM workloads. Each custom cluster network requires at least two additional NICs to set up a bonded NIC in every involved node of the Harvester cluster. The [witness node](../advanced/witness.md) does not require additional NICs. For more information, see [Cluster Network](../networking/clusternetwork.md#concepts).
4141
- During testing, you can use only one NIC for the [built-in management cluster network](../networking/clusternetwork.md#built-in-cluster-network) (`mgmt`), and for testing the [VM network](../networking/harvester-network.md#create-a-vm-network) that is also carried by `mgmt`. High availability and optimal performance are not guaranteed.
42+
- If the disk only meets the minimum required capacity, you may encounter issues related to the [free system partition space requirement](../upgrade/automatic.md#free-system-partition-space-requirement) during upgrades.
4243
:::
4344

4445
### CPU Specifications

versioned_docs/version-v1.5/upgrade/automatic.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,28 @@ Setting a smaller value than the pre-defined value may cause the upgrade to fail
175175
176176
:::
177177
178+
The following sections describe solutions for issues related to this requirement.
179+
180+
### Free System Partition Space Manually
181+
182+
Harvester attempts to remove unnecessary container images after an upgrade is completed. However, this automatic image cleanup may not be performed for various reasons. You can use [this script](https://github.com/harvester/upgrade-helpers/blob/main/bin/harv-purge-images.sh) to manually remove images. For more information, see issue [#6620](https://github.com/harvester/harvester/issues/6620).
183+
184+
### Set Up a Private Container Registry and Skip Image Preloading
185+
186+
The system partition might still lack free space even after you remove images. To address this, set up a private container registry for both current and new images, and configure the setting [`upgrade-config`](advanced/settings.md#upgrade-config) with following value:
187+
188+
```
189+
{"imagePreloadOption":{"strategy":{"type":"skip"}}, "restoreVM": false}
190+
```
191+
192+
Harvester skips the upgrade image preloading process. When the deployments on the nodes are upgraded, the container runtime loads the images stored in the private container registry.
193+
194+
:::caution
195+
196+
Do not rely on the public container registry. Note any potential internet service interruptions and how close you are to reaching your [Docker Hub rate limit](https://www.docker.com/increase-rate-limits/). Failure to download any of the required images may cause the upgrade to fail and may leave the cluster in a middle state.
197+
198+
:::
199+
178200
## VM Backup Compatibility
179201
180202
In Harvester v1.4.2 and later versions, you may encounter certain limitations when creating and restoring [backups that involve external storage](../../versioned_docs/version-v1.4/advanced/csidriver.md#vm-backup-compatibility)

0 commit comments

Comments
 (0)