Created
December 20, 2023 13:54
-
-
Save reski-rukmantiyo/f23771f808bbaaf755c29daa7dcd197e to your computer and use it in GitHub Desktop.
kubevirt example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export VERSION=$(curl -s https://storage.googleapis.com/kubevirt-prow/release/kubevirt/kubevirt/stable.txt) | |
echo $VERSION | |
k create -f https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-operator.yaml | |
k create -f https://github.com/kubevirt/kubevirt/releases/download/${VERSION}/kubevirt-cr.yaml | |
k -n kubevirt patch kubevirt kubevirt --type=merge --patch '{"spec":{"configuration":{"developerConfiguration":{"useEmulation":true}}}}' | |
k get kubevirt.kubevirt.io/kubevirt -n kubevirt -o=jsonpath="{.status.phase}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment