{"repo":"tomplus/kubernetes_asyncio","free":true,"listed":false,"github":"https://github.com/tomplus/kubernetes_asyncio","clone":"git clone https://github.com/tomplus/kubernetes_asyncio.git","description":"Python asynchronous client library for Kubernetes http://kubernetes.io/","language":"Python","stars":436,"topics":["asyncio","kubernetes","python","asynchronous","aio","aiohttp","async"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Kubernetes Python Client Asynchronous (AsyncIO) client library for the Kubernetes API. This library is created in the same way as the official https://github.com/kubernetes-client/python but uses asynchronous version of OpenAPI generator. My motivation is described here: https://github.com/kubernetes-client/python/pull/324 Installation From PyPi directly: It requires Python 3.10+ Example To list all pods: More examples, including asynchronous multiple watch or tailing logs from pods, can be found in examples/ folder. Documentation https://kubernetes-asyncio.readthedocs.io/ Microsoft Windows In case this library is used against Kubernetes cluster using client-go credentials plugin, the default asyncio event loop is SelectorEventLoop. This event loop selector, however, does NOT support pipes and subprocesses, so exec provider.py::ExecProvider is failing. In order to avoid failures the ProactorEventLoop has to be selected. The ProactorEventLoop can be enabled via WindowsProactorEventLoopPolicy. Application's code needs to contain following code: Versions This library is versioned in the same way as the synchronous library. The schema version has been changed with version v18.20.0. Now, first two numbers from version are Kubernetes version (v.1.18.20). The last number is for changes in the library not directly connected with K8s. Development","default_branch":null,"files":null,"tree":[],"storefront":"/r/tomplus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tomplus/kubernetes_asyncio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}