Haowei Cai
91bb4910b2
update version constant for v18.17.0a1 release
...
kubernetes 1.18 is no longer maintained. 1.18.17 was the last patch release.
2021-04-11 16:03:07 -07:00
Abhijeet Kasurde
eb9db7762d
examples/pod_exec.py: fix example
...
Use get_default_copy() API with configuration.
2021-04-11 16:02:05 -07:00
abhiabhi94
86cd342c63
Refactor utils
...
- move regex compilation to the top of the module to enable caching.
2021-04-11 16:01:49 -07:00
Soumitra Kumar
dadc47b282
Added kubernetes.leaderelection in packages list to fix No module named 'kubernetes.leaderelection' error
...
To reproduce: Make sure to create a file outside of checked out python repo directory.
$ cat hello_k8s.py
import kubernetes
kubernetes.config.load_kube_config()
k8s = kubernetes.client.CoreV1Api()
print("Listing pods with their IPs:")
ret = k8s.list_pod_for_all_namespaces(watch=False)
for i in ret.items:
print("%s\t%s\t%s" % (i.status.pod_ip, i.metadata.namespace, i.metadata.name))
python hello_k8s.py
Traceback (most recent call last):
File "hello_k8s.py", line 1, in <module>
import kubernetes
File "<frozen zipimport>", line 259, in load_module
File "anaconda3/lib/python3.8/site-packages/kubernetes-17.0.0_snapshot-py3.8.egg/kubernetes/__init__.py", line 25, in <module>
ModuleNotFoundError: No module named 'kubernetes.leaderelection'
2021-04-11 16:01:36 -07:00
Invictus17
affaebb534
Adding symbolic link to base/leaderelection
2021-04-11 16:01:23 -07:00
Sumant
dcd449ace6
Enable leaderelection
2021-04-11 16:00:45 -07:00
Haowei Cai
c55c0ef663
configmap-e2e: use labels
2021-04-11 16:00:38 -07:00
Arumugam
73c7339621
Adding Power support(ppc64le) with ci and testing to the project for architecture independent
2021-04-11 16:00:27 -07:00
Patrick J. McNerthney
69986824ac
Implement back end raw port test container using python.
2021-04-11 16:00:13 -07:00
Haowei Cai
b143e8c829
changelog for python-base update
2021-04-11 15:06:23 -07:00
Haowei Cai
b2b520a010
update python-base submodule
2021-04-11 14:57:42 -07:00
Kubernetes Prow Robot
7a0e799a02
Merge pull request #1319 from palnabarun/release-18.0
...
Release 18.0 Snapshot
2020-11-23 18:23:00 -08:00
Nabarun Pal
fae8590d61
Add a note about the change in client versioning schema
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-22 21:58:52 +05:30
Nabarun Pal
4ff8c05914
Add v17.14.0a1 to the compatibility matrix
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-22 21:58:52 +05:30
Nabarun Pal
a027b2a4bb
Refactor the format of compatibitility matrix
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-22 21:58:52 +05:30
Nabarun Pal
469bc9af88
Update CHANGELOG with v18.0.0-snapshot
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-22 21:58:52 +05:30
Haowei Cai
1c2be29248
add a test for default configuration behavior
2020-11-17 04:00:33 +05:30
Fabian von Feilitzsch
b4a3fc235e
Add test to ensure kubernetes client threadpool is cleaned up
2020-11-17 04:00:33 +05:30
Nabarun Pal
9f880d8396
Add kubernetes.client.apis as an alias to kubernetes.client.api
...
Reference: https://github.com/kubernetes-client/python/issues/974
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:33 +05:30
Nabarun Pal
e379ad2868
Fix custom objects API to preserve backward compatibility
...
Reference:
- [#866 ](https://github.com/kubernetes-client/python/issues/866 )
- [#959 ](https://github.com/kubernetes-client/python/pull/959 )
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:32 +05:30
Nabarun Pal
cd92c5d545
Generate client 18.0.0-snapshot
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:32 +05:30
Nabarun Pal
0fd73895d7
Update constants to reflect Client release 18.0.0-snapshot
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:32 +05:30
Nabarun Pal
161f1236dc
Update README
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:32 +05:30
Nabarun Pal
7a4ffcf819
Update CHANGELOG with v17.0.0-snapshot
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:32 +05:30
Haowei Cai
631386c894
add a test for default configuration behavior
2020-11-17 04:00:31 +05:30
Fabian von Feilitzsch
a3d90aa243
Add test to ensure kubernetes client threadpool is cleaned up
2020-11-17 04:00:31 +05:30
Nabarun Pal
4cfbfd4e17
Add kubernetes.client.apis as an alias to kubernetes.client.api
...
Reference: https://github.com/kubernetes-client/python/issues/974
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:31 +05:30
Nabarun Pal
7f1667e5a2
Fix custom objects API to preserve backward compatibility
...
Reference:
- [#866 ](https://github.com/kubernetes-client/python/issues/866 )
- [#959 ](https://github.com/kubernetes-client/python/pull/959 )
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:31 +05:30
Nabarun Pal
86f621a0f2
Remove generated tests
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:31 +05:30
Nabarun Pal
2132e24fd1
Generate client 17.0.0
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:30 +05:30
Nabarun Pal
329b27a859
Update constants to reflect Client release 17.0.0
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:30 +05:30
Nabarun Pal
c382d32f92
Update CHANGELOG and README to reflect v12.0.0 and v12.0.1
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:30 +05:30
Nabarun Pal
89ea5306ab
Update hot patch section of release documentation
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-17 04:00:29 +05:30
dependabot[bot]
ddf34709bc
Bump actions/setup-python from v2.1.3 to v2.1.4
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from v2.1.3 to v2.1.4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.1.3...41b7212b1668f5de9d65e9c82aa777e6bbedb3a8 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-17 04:00:29 +05:30
Nabarun Pal
2910f25667
Update submodule
...
Old: fd322f70aa
New: 2da2b981ca
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-15 14:51:16 +05:30
Kubernetes Prow Robot
6d64cf67d3
Merge pull request #1265 from kubernetes-client/dependabot/github_actions/actions/setup-python-v2.1.3
...
Bump actions/setup-python from v2.1.2 to v2.1.3
2020-09-30 20:34:53 -07:00
dependabot[bot]
d31652a3a0
Bump actions/setup-python from v2.1.2 to v2.1.3
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from v2.1.2 to v2.1.3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2.1.2...c181ffa198a1248f902bc2f7965d2f9a36c2d7f6 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 03:15:39 +00:00
Kubernetes Prow Robot
945aac9f1e
Merge pull request #1260 from kubernetes-client/dependabot/github_actions/actions/setup-python-v2.1.2
...
Bump actions/setup-python from v1 to v2.1.2
2020-09-29 16:33:25 -07:00
Kubernetes Prow Robot
d1ccbf2266
Merge pull request #1262 from sighingnow/ht/return-created
...
Returns the created k8s objects in create_from_{dict,yaml}.
2020-09-23 19:38:05 -07:00
Tao He
bbdfb73cdf
Fixes for code format.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-09-24 10:08:33 +08:00
Tao He
9e534d021f
Returns the created k8s objects in create_from_{dict,yaml}.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-09-24 02:34:59 +08:00
Kubernetes Prow Robot
f41b95b0ee
Merge pull request #1229 from scottilee/releasedocs
...
Update Release Doc
2020-09-21 13:05:52 -07:00
dependabot[bot]
f72d2a50e0
Bump actions/setup-python from v1 to v2.1.2
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from v1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v1...24156c231c5e9d581bde27d0cdbb72715060ea51 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-09-21 04:35:01 +00:00
Kubernetes Prow Robot
f2b03567b4
Merge pull request #1259 from brendandburns/dependa
...
Add dependabot.
2020-09-20 21:34:32 -07:00
Brendan Burns
a824364676
Add dependabot.
2020-09-20 21:24:43 -07:00
Scott Lee
b1cea7ef14
Address comments about hot issues
2020-09-18 20:31:05 -07:00
Scott Lee
1be69369f5
Merge branch 'master' of https://github.com/kubernetes-client/python into releasedocs
2020-09-18 20:25:42 -07:00
Kubernetes Prow Robot
457ac54a72
Merge pull request #1254 from palnabarun/cherry-pick-12.0.0b1-notes
...
Update the CHANGELOG and README
2020-09-15 09:50:07 -07:00
Nabarun Pal
de822a2873
Update the CHANGELOG and README
...
- Adds a bug fix on python-base Ref: https://github.com/kubernetes-client/python-base/pull/201
- https://github.com/kubernetes-client/python/pull/1220 wrongly added
changes to the 12.0.0a1 CHANGELOG. We should not modify CHANGELOGs after
a release is made.
- Update 12.0.0a1-snapshot to 12.0.0a1
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-09-15 17:06:43 +05:30
Kubernetes Prow Robot
0a78dc1ef4
Merge pull request #1253 from ryphon/file-like-base-update
...
updating base for file-like config load support
2020-09-09 16:43:44 -07:00