Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.52 KB

File metadata and controls

50 lines (32 loc) · 1.52 KB

Setup Kubernetes

kubernetes is the default validation backend to run single- or multi-container workloads on a cluster of machines.

Prerequisites

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.

Setup Kubernetes

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

Setup Node Feature Discovery (Ansible Automation)

Please refer to the execution role in the location below:

./script/terraform/template/ansible/kubernetes/roles/nfd/

Setup Node Feature Discovery (Manually)

Install node feature discovery as follows:

kubectl apply -k https://github.com/kubernetes-sigs/node-feature-discovery/deployment/overlays/default

See Also