kind create cluster
More see docs
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/v1.1.1/kubevirt-operator.yaml
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/v1.1.1/kubevirt-cr.yaml
kubectl -n kubevirt patch kubevirt kubevirt --type=merge --patch '{"spec":{"configuration":{"developerConfiguration":{"useEmulation":true}}}}'
More see docs
kubectl create -f https://github.com/wzshiming/kwok/releases/download/v0.5.0-rc.3/kwok.yaml
kubectl create -f https://github.com/wzshiming/kwok/releases/download/v0.5.0-rc.3/stage-fast.yaml
kubectl -n kube-system patch deployment kwok-controller -p '{"spec":{"template":{"spec":{"hostNetwork":true}}}}'
kubectl create -k ./kustomize/kwok
kubectl create -f ./testdata/node.yaml
kubectl get node kwok-node-0
# NAME STATUS ROLES AGE VERSION
# kwok-node-0 Ready agent 10s kwok-v0.5.0-rc.3
kubectl create -f ./testdata/vmi.yaml
kubectl get vmi test-vmi
# NAME AGE PHASE IP NODENAME READY
# test-vmi 10s Running kwok-node-0 True