kubernetes
is the default validation backend to run single- or multi-container workloads on a cluster of machines.
Starting Kubernetes v1.20, Kubernetes deprecated docker
as a runtime and used containerd
instead. Follow the [instructions][instructions] to install and configure containerd
on your system.
Follow the Ubuntu/CentOS instructions to setup a Kubernetes cluster. For full features, please install Kubernetes v1.21 or later.
You can build the workloads and run the workloads on the same machine by setting up a single-node Kubernetes cluster:
kubectl taint node --all node-role.kubernetes.io/master-
kubectl taint node --all node-role.kubernetes.io/control-plane- # >= v1.20
Please refer to the execution role in the location below:
./script/terraform/template/ansible/kubernetes/roles/nfd/
Install node feature discovery as follows:
kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default