GPU-Live/template/stg-server/ddn/ddn-install-running/exa-csi-driver-2.3.5/deploy/openshift/lustre-module/lustre-mod.yaml

39 lines
1.6 KiB
YAML

apiVersion: kmm.sigs.x-k8s.io/v1beta1
kind: Module
metadata:
name: lustre
spec:
moduleLoader:
container:
modprobe:
moduleName: lustre
dirName: /opt
modulesLoadingOrder:
- lustre
- mgc
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: ""