Skip to content

Instantly share code, notes, and snippets.

View suchakra012's full-sized avatar

Suman Chakraborty suchakra012

View GitHub Profile
@suchakra012
suchakra012 / gist:d3692421850d7a7631ef6340042a4ebc
Last active July 25, 2020 15:36
kubevirt commands in nutshel
Kubevirt demo :
export KUBEVIRT_VERSION=$(curl -s https://api.github.com/repos/kubevirt/kubevirt/releases/latest | jq -r .tag_name)
echo $KUBEVIRT_VERSION
------- Installing Kubevirt components using Operator ---------------
kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/${KUBEVIRT_VERSION}/kubevirt-operator.yaml
------- Pre-configure KubeVirt so it uses software-emulated virtualization (QEMU) --------------------------------
kubectl create configmap kubevirt-config -n kubevirt --from-literal debug.useEmulation=true
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>