python/examples
Prabha 7bb0851217
Fix issue #1395
create_job function was not printing the current status of the job. Modified the create_job function to call read_namespaced_job_status in order to get the current job status
2021-04-18 16:14:24 +05:30
..
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 Fix issue #1395 2021-04-18 16:14:24 +05:30
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 examples/pod_exec.py: fix example 2021-03-23 10:28:13 +05:30
pod_namespace_watch.py Address PR comments 2019-09-13 16:16:54 -07:00
pod_portforward.py Support both python 2.7 and 3.x. 2020-09-07 19:47:19 -10:00
README.md Address PR comments 2019-09-13 16:16:54 -07:00
remote_cluster.py Fix Typo in examples/remote_cluster.py 2021-03-01 14:19:59 +01: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.