From ad1eec573ed6f13b0261fc154fef07f66ea39e44 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Thu, 9 Jan 2020 11:15:49 +0530 Subject: [PATCH 1/2] Updates CHANGELOG --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0277c3b0cf..473767bf60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v11.0.0 + +**Deprecation Notice** +v11.0.0 of the client follows the Kubernetes [deprecation policy](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/release/versioning.md#supported-releases-and-component-skew) and will +be deprecated as and when Kubernetes version v1.15 gets deprecated. + # v11.0.0b2 **Bug Fix:** - Fix a fatal bug in package setup [kubernetes-client/python#1011](https://github.com/kubernetes-client/python/pull/1011) @@ -270,7 +276,7 @@ - Restricting the websocket-client to <=0.40 #299 # v3.0.0a1 -- Update client to kubernetes 1.7 +- Update client to kubernetes 1.7 - Support ThirdPartyResources (TPR) and CustomResourceDefinitions (CRD). Note that TPR is deprecated in kubernetes #251 #201 - Better dependency management #136 - Add support for python3.6 #244 @@ -325,7 +331,7 @@ # v1.0.0a3 -- Add context switch to kube config loader #46 +- Add context switch to kube config loader #46 - Add default kube config location #64 - Add suport for accessing multiple clusters #7 - Bugfix: Python client does not resolve relative paths in kubeconfig #68 From d5d2a6ae112bae4b8adaa5c8cc8506137c1c0c4a Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Thu, 9 Jan 2020 11:16:00 +0530 Subject: [PATCH 2/2] Updates README --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index db4fb94b2b..da1349657d 100644 --- a/README.md +++ b/README.md @@ -114,12 +114,13 @@ between client-python versions. | 7.0 Alpha/Beta | Kubernetes main repo, 1.11 branch | ✗ | | 7.0 | Kubernetes main repo, 1.11 branch | ✗ | | 8.0 Alpha/Beta | Kubernetes main repo, 1.12 branch | ✗ | -| 8.0 | Kubernetes main repo, 1.12 branch | ✓ | +| 8.0 | Kubernetes main repo, 1.12 branch | ✗ | | 9.0 Alpha/Beta | Kubernetes main repo, 1.13 branch | ✗ | | 9.0 | Kubernetes main repo, 1.13 branch | ✓ | | 10.0 Alpha/Beta | Kubernetes main repo, 1.14 branch | ✗ | | 10.0 | Kubernetes main repo, 1.14 branch | ✓ | -| 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch | ✓ | +| 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch | ✗ | +| 11.0 | Kubernetes main repo, 1.15 branch | ✓ | Key: @@ -169,8 +170,8 @@ Specifically check `ipaddress` and `urllib3` package versions to make sure they Starting from 4.0 release, we do not support directly calling exec or attach calls. you should use stream module to call them. so instead of `resp = api.connect_get_namespaced_pod_exec(name, ...` you should call `resp = stream(api.connect_get_namespaced_pod_exec, name, ...`. -Using Stream will overwrite the requests protocol in _core_v1_api.CoreV1Api()_ -This will cause a failure in non-exec/attach calls. If you reuse your api client object, you will need to +Using Stream will overwrite the requests protocol in _core_v1_api.CoreV1Api()_ +This will cause a failure in non-exec/attach calls. If you reuse your api client object, you will need to recreate it between api calls that use _stream_ and other api calls. - + See more at [exec example](examples/pod_exec.py).