kubernetes_asyncio
kubernetes_asyncio copied to clipboard
Python asynchronous client library for Kubernetes http://kubernetes.io/
The client should not assume a refresh token is returned in an OpenID token refresh request as there several token management strategies like "sliding", "rolling" and "rotation". Traceback: ``` in...
After about 3 minutes I got an error: `aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed` Run: ``` async def get_events(v1, field_selector: str): w = watch.Watch() async with w.stream( v1.list_event_for_all_namespaces, field_selector=field_selector, )...
It would be nice if this project had stubs so we get extra type safety. Maybe these stubs can be reused? https://github.com/MaterializeInc/kubernetes-stubs
When setting a `timeout_seconds` greater than 5 minutes, a TimeoutError is raised after 5 minutes. ```python import asyncio from kubernetes_asyncio import client, config, watch async def watch_pods(): async with client.ApiClient()...
I'm not sure how i will make the package publishable in this repo. But i think this should work for generating the client stubs and add mypy.
Is it feasible to add type annotations to the code? I understand it is generated, so it might be more complex, but those are very useful when coding, especially for...
Hi all, I think it would be useful to have support for simple load_config as implemented [here](https://github.com/kubernetes-client/python/blob/release-26.0/kubernetes/base/config/__init__.py), can someone give me feedback if this would be possible?
It would be extremely useful to have an example use of `connect_get_namespaced_pod_portforward`. I see https://github.com/tomplus/kubernetes_asyncio/blob/master/examples/example3.py contains an example for `connect_get_namespaced_pod_exec`, but it's not clear how to send a port forwarded...
Fixes https://github.com/tomplus/kubernetes_asyncio/issues/310 I didn't add tests because I couldn't see any existing tests for the `call_api` method, but if I missed it, please let me know. **I accidentally didn't read...
# Problem Using `kubernetes_asyncio.api_client.call_api` without passing the argument `response_types_map` fails. I would recommend skipping the reproduction I added below, as the bug is trivial and should be simple to understand...