python/examples
2022-03-15 22:42:53 -07:00
..
dynamic-client
notebooks
watch
__init__.py
api_discovery.py
cluster_scoped_custom_object.py
deployment_create.py
deployment_crud.py
in_cluster_config.py
ingress_create.py
job_crud.py
multiple_clusters.py drop python2 support 2021-05-15 00:57:04 +05:30
namespaced_custom_object.py
nginx-deployment.yaml
node_labels.py
out_of_cluster_config.py
pi-job.yaml
pick_kube_config_context.py
pod_config_list.py
pod_exec.py
pod_portforward.py
README.md
remote_cluster.py

Python Client Examples

This directory contains various examples of how to use the Python client. Please read the description at the top of each example for more information about what the script does and any prequisites. Most scripts also include comments throughout the code.

Setup

These scripts require Python 2.7 or 3.5+ and the Kubernetes client which can be installed following the directions here.

Contributions

If you find a problem please file an issue.