python/examples
2021-11-29 11:11:12 -08:00
..
dynamic-client Adding the custom header example for dynamic client 2021-05-11 09:03:06 +05:30
notebooks
watch add documentation for the server & client side timeout 2021-06-02 23:33:03 +05:30
__init__.py
api_discovery.py
cluster_scoped_custom_object.py correct custom object to custom resource (CR) 2021-04-28 23:23:09 +05:30
deployment_create.py examples: comment improvement in remote_cluster.py and deployment_create.py 2021-05-01 23:24:17 +05:30
deployment_crud.py add "restart_deployment" method 2021-05-13 13:23:15 +05:30
in_cluster_config.py
ingress_create.py Use v1 API in the ingress example 2021-11-29 11:11:12 -08:00
job_crud.py Update job_crud.py 2021-05-14 00:44:53 +05:30
multiple_clusters.py drop python2 support 2021-05-15 00:57:04 +05:30
namespaced_custom_object.py Removed the custom_object.py file and and added namespaced_custom_object.py 2021-04-30 13:08:18 +05:30
nginx-deployment.yaml
node_labels.py Update node_labels.py 2021-04-28 22:09:40 +05:30
out_of_cluster_config.py
pi-job.yaml
pick_kube_config_context.py drop python2 support 2021-05-15 00:57:04 +05:30
pod_config_list.py drop python2 support 2021-05-15 00:57:04 +05:30
pod_exec.py examples/pod_exec.py: fix example 2021-03-23 10:28:13 +05:30
pod_portforward.py
README.md
remote_cluster.py examples: comment improvement in remote_cluster.py and deployment_create.py 2021-05-01 23:24:17 +05:30

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.