Skip to content

Latest commit

 

History

History
30 lines (28 loc) · 672 Bytes

README.md

File metadata and controls

30 lines (28 loc) · 672 Bytes

Virtlet image server and pod example

In order to try out the example, do the following on a cluster that has nodes with Virtlet on it (see the instructions in deploy/ directory):

  1. Create image server Deployment and Service:
kubectl create -f image-server.yaml -f image-service.yaml
  1. Wait for image-server pod to become Running:
kubectl get pods -w
  1. Create a sample VM:
kubectl create -f cirros-vm.yaml
  1. Wait for cirros-vm pod to become Running:
kubectl get pods -w
  1. List libvirt domains:
./virsh.sh list
  1. Connect to the VM console:
./virsh.sh console $(./virsh.sh list --name)