python/examples
Kubernetes Prow Robot 36d2108e89
Merge pull request #1440 from Yashks1994/remove-custom-patch1
Removed custom_object.py and created a new file namespaced_custom_object.py which is more specific to usage of namespaced custom resource
2021-04-30 09:59:59 -07: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
cluster_scoped_custom_object.py correct custom object to custom resource (CR) 2021-04-28 23:23:09 +05:30
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
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 Deprecate extensions/v1beta1 deployment 2019-07-23 21:28:04 -04:00
node_labels.py Update node_labels.py 2021-04-28 22:09:40 +05:30
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.