python/examples
2023-09-17 16:24:57 +00:00
..
dynamic-client
notebooks
watch
yaml_dir
__init__.py
annotate_deployment.py chore: use f-string 2023-09-17 16:24:57 +00:00
api_discovery.py chore: use f-string 2023-09-17 16:24:57 +00:00
apply_from_dict.py
apply_from_directory.py chore: use f-string 2023-09-17 16:24:57 +00:00
apply_from_single_file.py chore: use f-string 2023-09-17 16:24:57 +00:00
cluster_scoped_custom_object.py chore: use f-string 2023-09-17 16:24:57 +00:00
cronjob_crud.py
deployment_create.py chore: use f-string 2023-09-17 16:24:57 +00:00
deployment_crud.py
in_cluster_config.py chore: use f-string 2023-09-17 16:24:57 +00:00
ingress_create.py
job_crud.py chore: use f-string 2023-09-17 16:24:57 +00:00
multiple_clusters.py chore: use f-string 2023-09-17 16:24:57 +00:00
namespaced_custom_object.py
node_labels.py chore: use f-string 2023-09-17 16:24:57 +00:00
out_of_cluster_config.py chore: use f-string 2023-09-17 16:24:57 +00:00
pick_kube_config_context.py chore: use f-string 2023-09-17 16:24:57 +00:00
pod_config_list.py chore: use f-string 2023-09-17 16:24:57 +00:00
pod_exec.py chore: use f-string 2023-09-17 16:24:57 +00:00
pod_portforward.py chore: use f-string 2023-09-17 16:24:57 +00:00
README.md
remote_cluster.py chore: use f-string 2023-09-17 16:24:57 +00:00
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.