Notes: containerd v1.5.1 GA, event watch stream server-side timeout, dropping python2 support from k8s python client, dedicated kubernetes contribution page #11
May 14, 2021
Quick notes from today:
Bumped containerd version to v1.5.1
- In the morning, I worked on writing PRs for bumping the
containered
version to the GA versionv1.5.1
in the following projects:microsoft/hcsshim
~ bump containerd version to v1.5.1 #1027google/cadvisor
~ bump containerd version to v1.5.1 #2870kubernetes/image-builder
~ bump containerd version to v1.5.1 #610kubernetes/test-infra
~ bump containerd version to v1.5.1 #22178
Dropping python2 support from k8s-client/python & k8s-client/python-base
- I am currently working on the PRs that will drop the python2 support from the
kubernetes-client/python
&kubernetes-client/python-base
repositories.kubernetes-client/python-base
~ [WIP] drop python2 support #238kubernetes-client/python
~ [WIP] drop python 2 support #1468
- While doing the PRs, I learnt about what’s the usage of the following python modules:
isort
~ Python utility / library to sort imports alphabetically, and automatically separated into sections and by type.coverage
~ A tool for measuring code coverage of Python programs. It monitors your program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed but was not. Coverage measurement is typically used to gauge the effectiveness of testscodecov
~ A reporting tool that is intended to process any coverage report format into a format that is standard across Codecov.
- Both of the PRs are work in progress (WIP). The work done in both the repos, so far is:
- removed python2 from the
.travis.yaml
file - remove python2 from the
tox.ini
file - remove
-y
flag from isort command inupdate-pycodestle.sh
script - fix sequence of module imports to fix the failing
pycodestyle
checks in the following files:examples/multiple_clusters.py
examples/pick_kube_config_context.py
examples/pod_config_list.py
- tested
coverage
&codecov
tests with python3 version (currentlyv3.9
) - tested updated
update-pycodestyle
for python3 versionv3.9
in case of archppc6le
- removed python2 from the
- Also, just realised,
kubernetes-client/python-base
clone thekubernetes-client/python
while running the travis CLI jobs. So, I need to first finish the PR forkubernetes-client/python
& then move to thekubernetes-client/python-base
one.
documenting watch stream server-side timeout
- Raised the following PR to document the pods event
watch
streamserver-side
andclient-side
timeout:
dedicated page for upstream kubernetes contributions
- I have created a dedicated page for logging & tracking all my upstream Kuberenetes project contributions. Find it here, on the blog.
That’s all for today! o/