9 lines
524 B
PowerShell
9 lines
524 B
PowerShell
kind create cluster --config clusterconfig.yaml --name kubevirt-test
|
|
kubectl create -f "https://github.com/kubevirt/kubevirt/releases/download/v1.5.2/kubevirt-operator.yaml"
|
|
kubectl create -f "https://github.com/kubevirt/kubevirt/releases/download/v1.5.2/kubevirt-cr.yaml"
|
|
write-host "Waiting until kubevirt has had a change to get deployed"
|
|
while(kubectl get kubervirt.kubevirt.io/kubevirt -n kubevirt -o=jsonpath="{.status.phase}" !== "Deployed"){}
|
|
start-sleep -Seconds 300
|
|
kubectl apply -f vm.yaml
|
|
|