python/examples
2024-03-30 22:11:48 +08:00
..
dynamic-client replace utcnow with now, due to utcnow will be deprecated 2024-03-30 22:11:48 +08: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 chore: move yaml files to correct folder 2023-09-11 19:10:57 +05:30
__init__.py
annotate_deployment.py chore: use f-string 2023-09-13 23:24:16 +05:30
api_discovery.py chore: use f-string 2023-09-13 23:24:16 +05:30
apply_from_dict.py example added for create_from_dict 2022-09-28 12:33:57 +06:00
apply_from_directory.py chore: use f-string 2023-09-13 23:24:16 +05:30
apply_from_single_file.py chore: use f-string 2023-09-13 23:24:16 +05:30
cluster_scoped_custom_object.py chore: use f-string 2023-09-13 23:24:16 +05:30
cronjob_crud.py change BatchV1beta1Api to BatchV1Api 2022-07-09 18:49:58 +08:00
deployment_create.py chore: use f-string 2023-09-13 23:24:16 +05:30
deployment_crud.py replace utcnow with now, due to utcnow will be deprecated 2024-03-30 22:11:48 +08:00
in_cluster_config.py chore: use f-string 2023-09-13 23:24:16 +05:30
ingress_create.py
job_crud.py chore: use f-string 2023-09-13 23:24:16 +05:30
multiple_clusters.py chore: use f-string 2023-09-13 23:24:16 +05:30
namespaced_custom_object.py
node_labels.py chore: use f-string 2023-09-13 23:24:16 +05:30
out_of_cluster_config.py chore: use f-string 2023-09-13 23:24:16 +05:30
pick_kube_config_context.py chore: use f-string 2023-09-13 23:24:16 +05:30
pod_config_list.py chore: use f-string 2023-09-13 23:24:16 +05:30
pod_exec.py chore: use f-string 2023-09-13 23:24:16 +05:30
pod_portforward.py chore: use f-string 2023-09-13 23:24:16 +05:30
README.md Fix typos 2023-01-27 11:10:29 +08:00
remote_cluster.py chore: use f-string 2023-09-13 23:24:16 +05:30
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.