python/examples
2022-03-16 18:13:54 -07:00
..
dynamic-client Misc typo fixes 2021-12-17 12:23:37 +05:30
notebooks fix: remove depriciated gitrepo volume type 2022-03-15 22:42:53 -07:00
watch add documentation for the server & client side timeout 2021-06-02 23:33:03 +05:30
yaml_dir docs(examples): add example to utilize utils 2022-03-16 18:13:54 -07: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
apply_from_directory.py docs(examples): add example to utilize utils 2022-03-16 18:13:54 -07:00
apply_from_single_file.py docs(examples): add example to utilize utils 2022-03-16 18:13:54 -07:00
cluster_scoped_custom_object.py correct custom object to custom resource (CR) 2021-04-28 23:23:09 +05:30
configmap-demo-pod.yml docs(examples): add example to utilize utils 2022-03-16 18:13:54 -07:00
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 Misc typo fixes 2021-12-17 12:23:37 +05:30
in_cluster_config.py Address PR comments 2019-09-13 16:16:54 -07:00
ingress_create.py Use v1 API in the ingress example 2021-11-29 11:11:12 -08:00
job_crud.py Misc typo fixes 2021-12-17 12:23:37 +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 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 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 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 examples: comment improvement in remote_cluster.py and deployment_create.py 2021-05-01 23:24:17 +05:30
rollout-daemonset.py comment version requirement for example statefulset 2022-03-16 13:49:22 +08:00
rollout-statefulset.py comment version requirement for example statefulset 2022-03-16 13:49:22 +08: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.