Load Open-CAS kernel modules using kmods-via-containers framework
The initial implementation is targeted at Openshift clusters with Special Resource Operator (SRO) installed and Local Image Registry running. To deploy Open CAS kernel modules you must first create a config map with a helm repository. You can use prepared config map:
git clone https://github.com/Open-CAS/kvc-open-cas-kmod
oc create namespace open-cas-kmod
oc apply -f kvc-open-cas-kmod/open-cas-kmod-config-map.yaml
Alternatively clone this repository or copy files from cm directory:
git clone https://github.com/Open-CAS/kvc-open-cas-kmod
cd kvc-open-cas-kmod/cm
oc create namespace open-cas-kmod
oc create cm open-cas-kmod-chart --from-file=index.yaml --from-file=open-cas-kmod-0.0.1.tgz -n open-cas-kmod
Then either download open-cas-kmod.yaml and call oc create -f open-cas-kmod.yaml
or using web
console go to Special Resource Operator > Create SpecialResource and paste the contents of the
open-cas-kmod.yaml in the YAML view.
To deploy the open-cas-kmod in your cluster, there needs to be a Local Image Registry configured. A quick solution on how to configure an ephemeral Image Registry is described here.
cm\open-cas-kmod-*.tgz contains packaged files from the directory open-cas-kmod-* using
helm package
command.