8000 kubevirt_python_client/examples at master · kasmtech/kubevirt_python_client · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Examples

This directory presents useful examples how to use client.

Examples expected kubeconfig located under ~/.kube/config or specified in KUBECONFIG environment variable.

These examples also uses some functionality from kubernetes modules like a Watch.

So you need to make sure that you have kubernetes module installed. You can simply install it using requirements.txt.

$ pip install -r requirements.txt

And then every example can be executed as following

$ python example_vms.py
0