Starting point
This commit is contained in:
8
create-cluster.ps1
Normal file
8
create-cluster.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user