8000 client-python/examples/README.md at master · mooperd/client-python · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 530 Bytes

File metadata and controls

22 lines (15 loc) · 530 Bytes

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