Update kernel docs for 4.3+
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
This commit is contained in:
committed by
Jonathon Anderson
parent
0df628dcc7
commit
2500afb5f7
@@ -6,8 +6,8 @@ Node Kernels
|
|||||||
============
|
============
|
||||||
|
|
||||||
Warewulf nodes require a Linux kernel to boot. There are multiple ways
|
Warewulf nodes require a Linux kernel to boot. There are multiple ways
|
||||||
to do this, but the default, and easiest way is to install the kernel
|
to do this, but the default and easiest way is to install the kernel
|
||||||
you wish to use for a particular container, into the container.
|
you wish to use for a particular container into the container.
|
||||||
|
|
||||||
Warewulf will locate the kernel automatically within the container and
|
Warewulf will locate the kernel automatically within the container and
|
||||||
by default use that kernel for any node configured to use that
|
by default use that kernel for any node configured to use that
|
||||||
@@ -19,15 +19,14 @@ You can see what kernel is included in a container by using the
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
# wwctl container list
|
# wwctl container list
|
||||||
CONTAINER NAME NODES KERNEL VERSION
|
CONTAINER NAME NODES KERNEL VERSION CREATION TIME MODIFICATION TIME SIZE
|
||||||
alpine 0
|
alpine 0 05 Jun 23 20:02 MDT 05 Jun 23 20:02 MDT 17.9 MiB
|
||||||
rocky 0 4.18.0-348.12.2.el8_5.x86_64
|
rocky-8 1 4.18.0-372.13.1.el8_6.x86_64 17 Jan 23 23:48 MST 06 Apr 23 09:40 MDT 2.4 GiB
|
||||||
rocky_updated 1 4.18.0-348.23.1.el8_5.x86_64
|
|
||||||
|
|
||||||
Here you will notice the alpine contianer that was imported has no
|
Here you will notice the alpine contianer that was imported has no
|
||||||
kernel within it, and each of the rocky containers include a kernel.
|
kernel within it, and the rocky container includes a kernel.
|
||||||
|
|
||||||
This model was introduced in Warewulf 4.3.0. Previously, Warewulf
|
This model was introduced in Warewulf v4.3. Previously, Warewulf
|
||||||
managed the kernel and the container separately, which made it hard to
|
managed the kernel and the container separately, which made it hard to
|
||||||
build and distribute containers that have custom drivers and/or
|
build and distribute containers that have custom drivers and/or
|
||||||
configurations included (e.g. OFED, GPUs, etc.).
|
configurations included (e.g. OFED, GPUs, etc.).
|
||||||
@@ -35,12 +34,11 @@ configurations included (e.g. OFED, GPUs, etc.).
|
|||||||
Kernel Overrides
|
Kernel Overrides
|
||||||
================
|
================
|
||||||
|
|
||||||
It is still possible to specify a kernel to a container if it doesn't
|
It is still possible to specify a kernel for a container if it doesn't
|
||||||
include it's own kernel, or if you wish to override the default kernel
|
include it's own kernel, or if you wish to override the default kernel
|
||||||
by using the ``kernel override`` capability.
|
by using the ``kernel override`` capability.
|
||||||
|
|
||||||
You can specify this option either within the ``nodes.conf`` directly
|
You can specify this option with the ``--kerneloverride`` option to
|
||||||
or via the command line with the ``--kerneloverride`` option to
|
|
||||||
``wwctl node set`` or ``wwctl profile set`` commands.
|
``wwctl node set`` or ``wwctl profile set`` commands.
|
||||||
|
|
||||||
In this case you will also need to import a kernel specifically into
|
In this case you will also need to import a kernel specifically into
|
||||||
@@ -53,7 +51,7 @@ follows:
|
|||||||
4.18.0-305.3.1.el8_4.x86_64: Done
|
4.18.0-305.3.1.el8_4.x86_64: Done
|
||||||
|
|
||||||
This process will import not only the kernel image itself, but also
|
This process will import not only the kernel image itself, but also
|
||||||
all of the kernel modules and firmware associated to this kernel.
|
all of the kernel modules and firmware associated with this kernel.
|
||||||
|
|
||||||
Listing All Imported Kernels
|
Listing All Imported Kernels
|
||||||
----------------------------
|
----------------------------
|
||||||
@@ -67,5 +65,9 @@ following command:
|
|||||||
VNFS NAME NODES
|
VNFS NAME NODES
|
||||||
4.18.0-305.3.1.el8_4.x86_64 0
|
4.18.0-305.3.1.el8_4.x86_64 0
|
||||||
|
|
||||||
Once a kernel has been imported and showing up in this list you can
|
# wwctl kernel list
|
||||||
configure it to boot compute nodes.
|
KERNEL NAME KERNEL VERSION NODES
|
||||||
|
4.18.0-305.3.1.el8_4.x86_64 0
|
||||||
|
|
||||||
|
Once a kernel has been imported you can configure it to boot compute
|
||||||
|
nodes.
|
||||||
|
|||||||
Reference in New Issue
Block a user