8000 GitHub - alosadagrande/oot-ice
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alosadagrande/oot-ice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oot-ice

This is a repo to build Out Of Tree Intel ice driver and load it on a OCP cluster

It builds the driver inside the Driver Toolkit image and pushes an image containing the kernel module to a registry.

Prereq

  • Set REGISTRY in your env. This is the registry the driver container will be pushed to and that the OCP cluster will pull the driver container from. In this sense, your default pull secret should be able to allow you to push to this registry on the build machine. Your cluster should also have the pull secret of this registry so that it can pull images from this registry.
  • Set KUBECONFIG in your env. The OCP version of your KUBECONFIG cluster will be used to build the driver and it will be used to apply the generated MachineConfig

Build

The script supports building the ice driver against different kernels.

To build against the standard kernel of the OCP version of the cluster in KUBECONFIG

./oot-ice.sh <ice-driver-version>

To build against the real time kernel of the OCP version of the cluster in KUBECONFIG

./oot-ice.sh -r <ice-driver-version>

To build against the standard kernel of a specific OCP version.

./oot-ice.sh -o <ocp_version> <ice-driver-version>

To build against the real time kernel of a specific OCP version.

./oot-ice.sh -r -o <ocp_version> <ice-driver-version>

To build against a custom kernel's supplied devel package. The kernel-devel package file must be in the current directory.

./oot-ice.sh -c <custom_kernel_devel_rpm> -k <kernel_version> <ice-driver-version>

To apply patches, use the -p option. All the patches found under the requested driver's folder will be applied.

./oot-ice.sh -p <ice-driver-version>

Deploy

Once the build finishes successfully, a MachineConfig to deploy the driver container to the cluster is generated. We can now apply this MachineConfig to deploy the driver.

oc apply -f mc-oot-ice.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 91.7%
  • Dockerfile 8.3%
0