Difference between revisions of "Create VM in KubeVirt"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[kubectl apply]] -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml | [[kubectl apply]] -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml | ||
virtualmachine.kubevirt.io/testvm created | virtualmachine.kubevirt.io/testvm created | ||
+ | |||
+ | kubectl apply -f vm_centos.yaml | ||
+ | virtualmachine.kubevirt.io/testvm configured | ||
+ | |||
kubectl apply -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml | kubectl apply -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml | ||
Line 12: | Line 16: | ||
== Related commands == | == Related commands == | ||
* <code>[[kubectl get vms]]</code> | * <code>[[kubectl get vms]]</code> | ||
+ | * <code>[[kubectl describe virtualmachine.kubevirt.io/mytestvm]]</code> | ||
== See also == | == See also == |
Latest revision as of 11:39, 3 May 2021
kubectl apply -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml virtualmachine.kubevirt.io/testvm created
kubectl apply -f vm_centos.yaml virtualmachine.kubevirt.io/testvm configured
kubectl apply -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml error: unable to recognize "https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml": no matches for kind "VirtualMachine" in version "kubevirt.io/v1alpha3"
kubectl apply -f https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/vm.yaml virtualmachine.kubevirt.io/testvm unchanged
Related commands[edit]
See also[edit]
Advertising: