These instructions bring up a kind cluster with containerd 34d078e99, the latest commit from the main branch. This version of containerd has support for CDI.
38 lines
752 B
YAML
38 lines
752 B
YAML
kind: Cluster
|
|
apiVersion: kind.x-k8s.io/v1alpha4
|
|
nodes:
|
|
- role: control-plane
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: ClusterConfiguration
|
|
scheduler:
|
|
extraArgs:
|
|
v: "5"
|
|
controllerManager:
|
|
extraArgs:
|
|
v: "5"
|
|
apiServer:
|
|
extraArgs:
|
|
runtime-config: "resource.k8s.io/v1alpha1=true"
|
|
- |
|
|
kind: InitConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
v: "5"
|
|
- role: worker
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: JoinConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
v: "5"
|
|
- role: worker
|
|
kubeadmConfigPatches:
|
|
- |
|
|
kind: JoinConfiguration
|
|
nodeRegistration:
|
|
kubeletExtraArgs:
|
|
v: "5"
|
|
featureGates:
|
|
DynamicResourceAllocation: true
|