{"payload":{"allShortcutsEnabled":false,"path":"examples","repo":{"id":72473727,"defaultBranch":"master","name":"python","ownerLogin":"kubernetes-client","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2016-10-31T20:08:03.000Z","ownerAvatar":"https://web.archive.org/web/20230804060345/https://avatars.githubusercontent.com/u/26615988?v=4","public":true,"private":false,"isOrgOwned":true},"currentUser":null,"refInfo":{"name":"master","listCacheKey":"v0:1689632269.0","canEdit":false,"refType":"branch","currentOid":"76ec6f5ce5572f66d82717e296480dc42584f0b7"},"tree":{"items":[{"name":"dynamic-client","path":"examples/dynamic-client","contentType":"directory"},{"name":"notebooks","path":"examples/notebooks","contentType":"directory"},{"name":"watch","path":"examples/watch","contentType":"directory"},{"name":"yaml_dir","path":"examples/yaml_dir","contentType":"directory"},{"name":"README.md","path":"examples/README.md","contentType":"file"},{"name":"__init__.py","path":"examples/__init__.py","contentType":"file"},{"name":"annotate_deployment.py","path":"examples/annotate_deployment.py","contentType":"file"},{"name":"api_discovery.py","path":"examples/api_discovery.py","contentType":"file"},{"name":"apply_from_dict.py","path":"examples/apply_from_dict.py","contentType":"file"},{"name":"apply_from_directory.py","path":"examples/apply_from_directory.py","contentType":"file"},{"name":"apply_from_single_file.py","path":"examples/apply_from_single_file.py","contentType":"file"},{"name":"cluster_scoped_custom_object.py","path":"examples/cluster_scoped_custom_object.py","contentType":"file"},{"name":"configmap-demo-pod.yml","path":"examples/configmap-demo-pod.yml","contentType":"file"},{"name":"cronjob_crud.py","path":"examples/cronjob_crud.py","contentType":"file"},{"name":"deployment_create.py","path":"examples/deployment_create.py","contentType":"file"},{"name":"deployment_crud.py","path":"examples/deployment_crud.py","contentType":"file"},{"name":"in_cluster_config.py","path":"examples/in_cluster_config.py","contentType":"file"},{"name":"ingress_create.py","path":"examples/ingress_create.py","contentType":"file"},{"name":"job_crud.py","path":"examples/job_crud.py","contentType":"file"},{"name":"multiple_clusters.py","path":"examples/multiple_clusters.py","contentType":"file"},{"name":"namespaced_custom_object.py","path":"examples/namespaced_custom_object.py","contentType":"file"},{"name":"nginx-deployment.yaml","path":"examples/nginx-deployment.yaml","contentType":"file"},{"name":"node_labels.py","path":"examples/node_labels.py","contentType":"file"},{"name":"out_of_cluster_config.py","path":"examples/out_of_cluster_config.py","contentType":"file"},{"name":"pi-job.yaml","path":"examples/pi-job.yaml","contentType":"file"},{"name":"pick_kube_config_context.py","path":"examples/pick_kube_config_context.py","contentType":"file"},{"name":"pod_config_list.py","path":"examples/pod_config_list.py","contentType":"file"},{"name":"pod_exec.py","path":"examples/pod_exec.py","contentType":"file"},{"name":"pod_portforward.py","path":"examples/pod_portforward.py","contentType":"file"},{"name":"remote_cluster.py","path":"examples/remote_cluster.py","contentType":"file"},{"name":"rollout-daemonset.py","path":"examples/rollout-daemonset.py","contentType":"file"},{"name":"rollout-statefulset.py","path":"examples/rollout-statefulset.py","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"

Python Client Examples

\n

This directory contains various examples of how to use the Python client.\nPlease read the description at the top of each example for more information\nabout what the script does and any prerequisites. Most scripts also include\ncomments throughout the code.

\n

Setup

\n

These scripts require Python 2.7 or 3.5+ and the Kubernetes client which can be\ninstalled following the directions\nhere.

\n

Contributions

\n

If you find a problem please file an\nissue.

\n
","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Python Client Examples","anchor":"python-client-examples","htmlText":"Python Client Examples"},{"level":2,"text":"Setup","anchor":"setup","htmlText":"Setup"},{"level":2,"text":"Contributions","anchor":"contributions","htmlText":"Contributions"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fkubernetes-client%2Fpython%2Ftree%2Fmaster%2Fexamples"}},"totalCount":32,"showBranchInfobar":false},"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"devel","path":"devel","contentType":"directory"},{"name":"doc","path":"doc","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"kubernetes","path":"kubernetes","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"MANIFEST.in","path":"MANIFEST.in","contentType":"file"},{"name":"OWNERS","path":"OWNERS","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY_CONTACTS","path":"SECURITY_CONTACTS","contentType":"file"},{"name":"code-of-conduct.md","path":"code-of-conduct.md","contentType":"file"},{"name":"codecov.yml","path":"codecov.yml","contentType":"file"},{"name":"requirements.txt","path":"requirements.txt","contentType":"file"},{"name":"setup.cfg","path":"setup.cfg","contentType":"file"},{"name":"setup.py","path":"setup.py","contentType":"file"},{"name":"test-requirements.txt","path":"test-requirements.txt","contentType":"file"},{"name":"tox.ini","path":"tox.ini","contentType":"file"}],"totalCount":21}},"fileTreeProcessingTime":3.66745,"foldersToFetch":[],"showSurveyBanner":false,"showCodeNavSurvey":false,"csrf_tokens":{"/kubernetes-client/python/branches":{"post":"BWOpCEfi5NHlfeetvT9DzXpT2fy1RbxpX9F103ij0f7D7Jp7-JwLyHzkqYdyrYRQfEt1h19n33kqSEC0ykprNQ"},"/kubernetes-client/python/branches/fetch_and_merge/master":{"post":"RU7135YY67sjKtoGfS1hTl8CTEe48ioACKsIj68yKpI9s0Ss0KuPhJ9SuusU3mrVxGFZMzrpZzxH4a_AhIUNxQ"},"/kubernetes-client/python/branches/fetch_and_merge/master?discard_changes=true":{"post":"DifLjcUpPp8q6gOy2MvsQSENPGo9dXS2ed4lw4CBBz922nr-g5paoJaSY1-xOOfaum4pHr9uOYo2lIKMqzYgaA"}}},"title":"python/examples at master ยท kubernetes-client/python","locale":"en"}