Go to file
Darren Hague 90399663f3 Fixes kubernetes-client/python issue 1047 "ResponseNotChunked from watch"
In recent versions of K8S (>1.16?), when a `Watch.stream()` call uses a
resource_version which is too old the resulting 410 error is wrapped in JSON
and returned in a non-chunked 200 response. Using `resp.stream()` instead of
`resp.read_chunked()` automatically handles the response being either chunked or
non-chunked.
2021-04-08 18:56:07 +01:00
config Fix trivial typo in error messages - 'does not exist' vs. 'does not exists' 2021-03-19 05:56:27 +01:00
dynamic test: self._cache = json.load(f, cls=partial(CacheDecoder, self.client)) 2021-02-01 21:20:19 +08:00
hack Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
leaderelection Leader Election issue #434 2021-01-13 19:47:43 -05:00
stream Support both python 2.7 and 3.x. 2020-09-07 21:04:32 -10:00
watch Fixes kubernetes-client/python issue 1047 "ResponseNotChunked from watch" 2021-04-08 18:56:07 +01:00
.gitignore Ignore IDE files 2017-06-09 13:22:07 -07:00
.travis.yml Add Python 3.9 to build 2020-12-04 22:06:53 -05:00
code-of-conduct.md Add code-of-conduct.md 2017-12-20 14:15:28 -05:00
CONTRIBUTING.md Remove all shebangs from Python modules and checker 2019-08-27 22:18:52 +02:00
LICENSE Initial commit 2017-04-19 16:12:18 -07:00
OWNERS Remove inactive members from OWNERS 2021-02-28 15:05:02 -05:00
README.md Remove link to kubernetes-client/community 2018-08-23 10:51:03 -07:00
run_tox.sh Verify Boilerplate fix 2018-12-05 22:22:59 +05:30
SECURITY_CONTACTS Add SECURITY_CONTACTS 2018-07-10 16:13:56 -07:00
tox.ini Add Python 3.9 to build 2020-12-04 22:06:53 -05:00

python-base

Build Status

This is the utility part of the python client. It has been added to the main repo using git submodules. This structure allow other developers to create their own kubernetes client and still use standard kubernetes python utilities. For more information refer to clients-library-structure.

Contributing

Please see CONTRIBUTING.md for instructions on how to contribute.