setup: Use separate kicstarts for control/worker

We're going to be using Longhorn for persistent storage.  Longhorn
allocates space on worker nodes and exposes iSCSI LUNs to other worker
nodes.  It creates sparse filesystem images under `/var/lib/longhorn`
for each volume.  Thus, we need to mount a large filesystem at that
path on each worker node for Longhorn to use.

Using two different kickstart scripts, one for the control plane nodes,
and one for the worker nodes, we can properly mount the Longhorn data
directory only on machines that will be running the Longhorn manager.

Longhorn only supports *ext4* and *XFS* filesystem types.
This commit is contained in:
2022-07-31 00:14:09 -05:00
parent 95e563d1a9
commit ce077ad557
3 changed files with 160 additions and 2 deletions

View File

@@ -6,9 +6,11 @@
## Installation
Use the [`fedora-k8s.ks`][0] kickstart file
For control plane nodes, use the [`fedora-k8s-ctrl.ks`][0] kickstart file. For
worker nodes, use [`fedora-k8s-node.ks`][1].
[0]: fedora-k8s.ks
[0]: fedora-k8s-ctrl.ks
[0]: fedora-k8s-node.ks
## Machine Setup