What type of PR is this? /kind bug What this PR does / why we need it: This PRs will read environment variables assigned for proxy and no_proxy. Update ws_client_test.py Update configuration.py What type of PR is this? /kind bug What this PR does / why we need it: This PRs will read environment variables assigned for proxy and no_proxy. Update configuration.py Add debug logging doc and example add .readthedocs.yaml config file Added Added insert_proxy_config.sh to edit configuration.py in client Revert "Added insert_proxy_config.sh to edit configuration.py in client" This reverts commit b295c2ddcbb838196823c4d7a55a67fd1d1dc290. To avoid condition self.no_proxy is already present |
||
|---|---|---|
| .. | ||
| dynamic-client | ||
| notebooks | ||
| watch | ||
| 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 | ||
| 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 | ||
| pick_kube_config_context.py | ||
| pod_config_list.py | ||
| pod_exec.py | ||
| pod_logs.py | ||
| 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.