python/examples
Kubernetes Prow Robot 83f460a681
Merge pull request #2330 from umutdz/add-debug-logging-doc
Doc: Added debug logging doc and example
2025-04-30 09:05:55 -07:00
..
dynamic-client
notebooks
watch Add an example of watch recovery using resource_version and bookmarks 2025-04-24 19:40:41 +01: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
cronjob_crud.py
deployment_create.py
deployment_crud.py
duration-gep2257.py
enable_debug_logging.py Add debug logging doc and example 2025-04-30 15:52:46 +02:00
in_cluster_config.py
ingress_create.py
job_crud.py
multiple_clusters.py
namespaced_custom_object.py
node_labels.py
out_of_cluster_config.py
patch_namespaced_config_map.py Add patch_namespaced_config_map example 2024-10-24 20:50:43 +08:00
pick_kube_config_context.py
pod_config_list.py
pod_exec.py chore: use f-string 2023-09-13 23:24:16 +05:30
pod_logs.py Update pod_logs.py 2025-02-16 12:54:15 +05:30
pod_portforward.py
README.md
remote_cluster.py
rollout-daemonset.py
rollout-statefulset.py

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.