- remove python2 from the .travis.yaml file
- remove python2 from the tox.ini file
- remove `-y` flag from isort command in update-pycodestle.sh script
- fix sequence of module imports to fix faiing pycodestyle check in the following files:
- examples/multiple_clusters.py
- examples/pick_kube_config_context.py
- examples/pod_config_list.py
- testing coverage & codecov tests with python3
- testing `update-pycodestyle` for python v3.9 and arch ppc6le
Signed-off-by: Priyanka Saggu <priyankasaggu11929@gmail.com>
|
||
|---|---|---|
| .. | ||
| dynamic-client | ||
| notebooks | ||
| __init__.py | ||
| api_discovery.py | ||
| cluster_scoped_custom_object.py | ||
| deployment_create.py | ||
| deployment_crud.py | ||
| in_cluster_config.py | ||
| ingress_create.py | ||
| job_crud.py | ||
| multiple_clusters.py | ||
| namespaced_custom_object.py | ||
| nginx-deployment.yaml | ||
| node_labels.py | ||
| out_of_cluster_config.py | ||
| pi-job.yaml | ||
| pick_kube_config_context.py | ||
| pod_config_list.py | ||
| pod_exec.py | ||
| pod_namespace_watch.py | ||
| pod_portforward.py | ||
| README.md | ||
| remote_cluster.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 prequisites. 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.