python/examples
Hemslo Wang 8c4590b017
Fix request_timeout example and doc
Arg name should be _request_timeout.
Single value type should be int or long.

Signed-off-by: Hemslo Wang <hemslo.wang@gmail.com>
2023-06-07 22:25:06 +10:00
..
dynamic-client Fix request_timeout example and doc 2023-06-07 22:25:06 +10:00
notebooks Fix typos 2023-01-27 11:10:29 +08:00
watch Fix request_timeout example and doc 2023-06-07 22:25:06 +10:00
yaml_dir
__init__.py
annotate_deployment.py
api_discovery.py
apply_from_dict.py
apply_from_directory.py
apply_from_single_file.py
cluster_scoped_custom_object.py
configmap-demo-pod.yml
cronjob_crud.py
deployment_create.py
deployment_crud.py Fix typos 2023-01-27 11:10:29 +08:00
in_cluster_config.py
ingress_create.py
job_crud.py
multiple_clusters.py
namespaced_custom_object.py
nginx-deployment.yaml
node_labels.py Updated example steps 2022-10-12 20:21:25 -04:00
out_of_cluster_config.py
pi-job.yaml
pick_kube_config_context.py
pod_config_list.py
pod_exec.py doc: comment pod_exec.py for multiple containers 2023-01-01 08:31:24 -05:00
pod_portforward.py
README.md Fix typos 2023-01-27 11:10:29 +08:00
remote_cluster.py
rollout-daemonset.py Fix typos 2023-01-27 11:10:29 +08:00
rollout-statefulset.py Fix typos 2023-01-27 11:10:29 +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 prerequisites. 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.