Skip to content

Commit 582965c

Browse files
authored
Merge pull request #2593 from yliaog/nestedaio
switched kubernetes_asyncio to kubernetes.aio
2 parents 46989af + 2204b03 commit 582965c

1,798 files changed

Lines changed: 11135 additions & 12879 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e-master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
- name: Install package
4444
run: python -m pip install -e .
4545
- name: Run End to End tests
46-
run: pytest -vvv -s kubernetes/e2e_test -s kubernetes_asyncio/e2e_test
46+
run: pytest -vvv -s kubernetes/e2e_test -s kubernetes/aio/e2e_test

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,10 @@ Kubernetes API Version: v1.36.0
231231
- The `endpoints` field in discovery.k8s.io/v1 EndpointSlice is now correctly defined as optional in the OpenAPI specification, matching the server's behavior. ([kubernetes/kubernetes#136111](https://github.com/kubernetes/kubernetes/pull/136111), [@aojea](https://github.com/aojea)) [SIG Network]
232232
- Update API comments to reflect that stable state of Dynamic Resource Allocation ([kubernetes/kubernetes#136441](https://github.com/kubernetes/kubernetes/pull/136441), [@kannon92](https://github.com/kannon92)) [SIG API Machinery]
233233

234-
# Basic asyncio support
234+
# Basic asyncio support (Experimental)
235+
236+
- Asyncio package is experimental currently, breaking changes may be introduced
237+
in future releases.
235238

236239
- Basic asyncio with kube config, and in_cluster_config is added.
237240

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ list all pods using asyncio:
4646

4747
```python
4848
import asyncio
49-
from kubernetes_asyncio import client, config
50-
from kubernetes_asyncio.client.api_client import ApiClient
49+
from kubernetes.aio import client, config
50+
from kubernetes.aio.client.api_client import ApiClient
5151

5252

5353
async def main():

examples_asyncio/in_cluster_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
import sys
5454
import traceback
5555

56-
from kubernetes_asyncio import client, config
56+
from kubernetes.aio import client, config
5757

5858

5959
async def main():

examples_asyncio/list_pods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import asyncio
22

3-
from kubernetes_asyncio import client, config
4-
from kubernetes_asyncio.client.api_client import ApiClient
3+
from kubernetes.aio import client, config
4+
from kubernetes.aio.client.api_client import ApiClient
55

66

77
async def main():

examples_asyncio/patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import asyncio
22

3-
from kubernetes_asyncio import client, config
4-
from kubernetes_asyncio.client.api_client import ApiClient
3+
from kubernetes.aio import client, config
4+
from kubernetes.aio.client.api_client import ApiClient
55

66
SERVICE_NAME = "example-service"
77
SERVICE_NS = "default"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)