40 lines
1.6 KiB
YAML
40 lines
1.6 KiB
YAML
apiVersion: kmm.sigs.x-k8s.io/v1beta1
|
|
kind: Module
|
|
metadata:
|
|
name: lnet
|
|
spec:
|
|
moduleLoader:
|
|
container:
|
|
modprobe:
|
|
moduleName: lnet
|
|
dirName: /opt
|
|
modulesLoadingOrder:
|
|
- lnet
|
|
- ksocklnd
|
|
# - ko2iblnd # for Infiniband network
|
|
|
|
kernelMappings: # At least one item is required
|
|
# For any other kernel, build the image using the Dockerfile in the my-kmod ConfigMap.
|
|
- regexp: '^.+$'
|
|
containerImage: "image-registry.openshift-image-registry.svc:5000/openshift-kmm/lustre-client-moduleloader:5.14.0-284.25.1.el9_2.x86_64"
|
|
build:
|
|
baseImageRegistryTLS:
|
|
# Optional and not recommended! If true, the build will be allowed to pull the image in the Dockerfile's
|
|
# FROM instruction using plain HTTP.
|
|
insecure: false
|
|
# Optional and not recommended! If true, the build will skip any TLS server certificate validation when
|
|
# pulling the image in the Dockerfile's FROM instruction using plain HTTP.
|
|
insecureSkipTLSVerify: false
|
|
dockerfileConfigMap: # Required
|
|
name: lustre-ci-dockerfile
|
|
registryTLS:
|
|
# Optional and not recommended! If true, KMM will be allowed to check if the container image already exists
|
|
# using plain HTTP.
|
|
insecure: false
|
|
# Optional and not recommended! If true, KMM will skip any TLS server certificate validation when checking if
|
|
# the container image already exists.
|
|
insecureSkipTLSVerify: false
|
|
|
|
selector:
|
|
node-role.kubernetes.io/worker: ""
|