Skip to content

Commit f158182

Browse files
docs: Document new Edge host partitions behaviour (#8711)
* Document new Edge host partitions behavior * Update installer-reference.md * Update installer-reference.md * ci: auto-formatting prettier issues * Update installer-reference.md * Update docs/docs-content/clusters/edge/edge-configuration/installer-reference.md * ci: auto-formatting prettier issues * Update installer-reference.md * Update installer-reference.md * ci: auto-formatting prettier issues --------- Co-authored-by: svetlana-efimova <[email protected]>
1 parent 17d15c1 commit f158182

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

docs/docs-content/clusters/edge/edge-configuration/installer-reference.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,67 @@ installation is complete.
432432
| `install.poweroff` | Whether to power off the Edge host after installation completes. | boolean | `false` |
433433
| `install.reboot` | Whether to reboot the Edge host after installation completes. | boolean | `false` |
434434

435+
:::info
436+
437+
If you define multiple partitions, the installer allocates any remaining unallocated disk space to the last defined
438+
partition. This applies to partitions listed under both `install.partitions` and `install.extra-partitions`, in the
439+
order they appear. If you want all partitions to have fixed sizes, add a final partition to absorb the remaining
440+
unallocated space.
441+
442+
<details>
443+
<summary>Examples</summary>
444+
445+
In the example below, the `persistent` partition is fixed at 200 GiB (200,000 MiB). Because `data` is defined last, it
446+
receives its requested 100 GiB (100,000 MiB) plus any remaining unallocated space on the disk.
447+
448+
```yaml
449+
#cloud-config
450+
install:
451+
partitions:
452+
persistent:
453+
size: 200000 # size in MiB
454+
extra-partitions:
455+
- name: data
456+
size: 100000 #size in MiB
457+
fs: ext4
458+
label: DATA_PARTITION
459+
```
460+
461+
In the following configuration, the `persistent` partition is not defined and therefore has no assigned size. The
462+
installer allocates all remaining disk space to the `persistent` partition after creating the `data` partition.
463+
464+
```yaml
465+
#cloud-config
466+
install:
467+
extra-partitions:
468+
- name: data
469+
size: 100000 #size in MiB
470+
fs: ext4
471+
label: DATA_PARTITION
472+
```
473+
474+
If both partitions require fixed sizes, add a final `extra` partition to accommodate any leftover space.
475+
476+
```yaml
477+
#cloud-config
478+
install:
479+
partitions:
480+
persistent:
481+
size: 200000 #size in MiB
482+
extra-partitions:
483+
- name: data
484+
size: 100000 #size in MiB
485+
fs: ext4
486+
label: DATA_PARTITION
487+
- name: extra
488+
size: 0
489+
fs: ext4
490+
label: EXTRA
491+
```
492+
493+
</details>
494+
:::
495+
435496
## Cloud Init Stages
436497

437498
Cloud init stages allow you to automates the initialization of your Edge hosts during various stages of the system boot

0 commit comments

Comments
 (0)