python/examples
2020-09-07 13:11:50 -10:00
..
notebooks Reverting some changed that were made by IDE 2020-05-11 20:02:17 -04:00
__init__.py 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00
api_discovery.py Address PR comments 2019-09-13 16:16:54 -07:00
custom_object.py Fix custom object API example 2020-01-08 17:53:34 -03:00
deployment_create.py 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00
deployment_crud.py Expand the deployment_crud example to include requests and limits specification 2020-05-05 00:38:42 -04:00
in_cluster_config.py Address PR comments 2019-09-13 16:16:54 -07:00
ingress_create.py Address PR comments 2019-09-13 16:16:54 -07:00
job_crud.py Address PR comments 2019-09-13 16:16:54 -07:00
multiple_clusters.py Address PR comments 2019-09-13 16:16:54 -07:00
nginx-deployment.yaml Deprecate extensions/v1beta1 deployment 2019-07-23 21:28:04 -04:00
node_labels.py 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00
out_of_cluster_config.py Address PR comments 2019-09-13 16:16:54 -07:00
pi-job.yaml 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00
pick_kube_config_context.py 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00
pod_config_list.py 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00
pod_exec.py use new module name in example 2019-11-11 12:05:27 -08:00
pod_namespace_watch.py Address PR comments 2019-09-13 16:16:54 -07:00
pod_portforward.py Add test that checks for portforward port error return value. 2020-09-07 13:11:50 -10:00
README.md Address PR comments 2019-09-13 16:16:54 -07:00
remote_cluster.py 884: Cleanup examples folder 2019-09-12 22:46:07 -07:00

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.