Skip to content

Commit 2fe57a3

Browse files
ybettank8s-ci-robot
authored andcommitted
Adding the cp requirement for kmod images documentation.
It is not currently mentioned in the documentation that the minimal reuirement for the kmod images are to have the `cp` binary present in the image. Signed-off-by: Yoni Bettan <[email protected]>
1 parent 29fa927 commit 2fe57a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/mkdocs/documentation/kmod_image.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ Where:
1111
- `<prefix>` should be equal to `/opt` in most cases, as it is the `Module` CRD's default value;
1212
- `kernel-version` must be non-empty and equal to the kernel version the kernel modules were built for.
1313

14+
In addition to the present of the `.ko` files, the kmod image also requires
15+
the `cp` binary to be present as the `.ko` files will be copied from this image to
16+
the image-loader worker pod created by the operator.
17+
This is a minimal requirement and we do not require any other binary tool to be
18+
present in the image.
19+
1420
## `depmod`
1521

1622
It is recommended to run `depmod` at the end of the build process to generate `modules.dep` and map files.

0 commit comments

Comments
 (0)