Developer guide
Table of contents
Building the operator
Download the source code
git clone https://github.com/kubernetes-sigs/node-feature-discovery-operator
Build the operator image
IMAGE_REGISTRY=<my registry>
make image
Push the container image
IMAGE_REGISTRY=<my registry>
make push
Alternatively, instead of specifying variables on the command line, you can edit the Makefile to permanently change parameter defaults like name of the image or namespace where the operator is deployed.
Manual deployment of the operator
After building the image you can simply run
IMAGE_REGISTRY=<my registry>
make deploy
Undeploy the operator
The operator will use the operand node-feature-discovery image built from: https://github.com/kubernetes-sigs/node-feature-discovery
To uninstall the operator run
make undeploy
Clean up labels
In case you need to reomve the labels created by NFD, the source Makefile comes with a built in target
make clean-labels
This will clean all labels referencing to feature.node.kubernetes.io
and nfd.node.kubernetes.io