For restricted networks, you must change the onload-operator and onload-device-plugin
image locations from their DockerHub defaults. To run the above command using locally
hosted container images, open the Xilinx-CNS/kubernetes-onload repository locally and use the
config/samples/default-clusterlocal/kustomization.yaml
overlay:
git clone -b v3.0 https://github.com/Xilinx-CNS/kubernetes-onload && cd kubernetes-onload
cp -r config/samples/default-clusterlocal config/samples/my-operator
$EDITOR config/samples/my-operator/kustomization.yaml
kubectl apply --validate=true -k config/samples/my-operator
Tip: If you replace
kubectl apply with kubectl kustomize in the
above command, it outputs a complete YAML manifest file which you can copy to a network
that does not have access to this repository.