Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Release 19.0 Snapshot #1320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Dec 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2910f25
Update submodule
palnabarun Oct 12, 2020
0869abd
Bump actions/setup-python from v2.1.3 to v2.1.4
dependabot[bot] Oct 28, 2020
b699a4b
Update hot patch section of release documentation
palnabarun Nov 7, 2020
a93fb32
Update CHANGELOG and README to reflect v12.0.0 and v12.0.1
palnabarun Oct 15, 2020
9ea98fa
Update constants to reflect Client release 17.0.0
palnabarun Nov 7, 2020
709a4d6
Generate client 17.0.0
palnabarun Nov 7, 2020
8ee7579
Remove generated tests
palnabarun Nov 7, 2020
3dcba90
Fix custom objects API to preserve backward compatibility
palnabarun Jun 22, 2020
6d3b932
Add kubernetes.client.apis as an alias to kubernetes.client.api
palnabarun Jun 22, 2020
ef3881e
Add test to ensure kubernetes client threadpool is cleaned up
fabianvf Feb 6, 2020
6440e8e
add a test for default configuration behavior
roycaihw Nov 4, 2020
11b1eca
Update CHANGELOG with v17.0.0-snapshot
palnabarun Nov 7, 2020
793747e
Update README
palnabarun Nov 7, 2020
83f1507
Update constants to reflect Client release 19.0.0-snapshot
palnabarun Nov 13, 2020
2a26c01
Generate client 19.0.0-snapshot
palnabarun Nov 13, 2020
a025211
Fix custom objects API to preserve backward compatibility
palnabarun Jun 22, 2020
81e36dd
Add kubernetes.client.apis as an alias to kubernetes.client.api
palnabarun Jun 22, 2020
4c3e595
Add test to ensure kubernetes client threadpool is cleaned up
fabianvf Feb 6, 2020
a692d33
add a test for default configuration behavior
roycaihw Nov 4, 2020
0722a17
Update CHANGELOG with v19.0.0-snapshot
palnabarun Nov 13, 2020
d2e31fb
Refactor the format of compatibitility matrix
palnabarun Nov 13, 2020
ea12369
Add v17.14.0a1 to the compatibility matrix
palnabarun Nov 16, 2020
e2ee800
Add a note about the change in client versioning schema
palnabarun Nov 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected].3
uses: actions/[email protected].4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
139 changes: 139 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

31 changes: 22 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,15 @@ All APIs and Models' documentation can be found at the [Generated client's READM
client-python gets increased, your code will continue to work with explicitly
supported versions of Kubernetes clusters.

#### Compatibility matrix
#### Compatibility matrix of supported client versions

| | Kubernetes 1.13 | Kubernetes 1.14 | Kubernetes 1.15 |
|--------------------|-----------------|-----------------|-----------------|
| client-python 9.0 |✓ |+- |+- |
| client-python 10.0 |+- |✓ |+- |
| client-python 11.0 |+- |+- |✓ |
| client-python HEAD |+- |+- |+- |
- [client 9.y.z](https://pypi.org/project/kubernetes/9.0.1/): Kubernetes 1.12 or below (+-), Kubernetes 1.13 (✓), Kubernetes 1.14 or above (+-)
- [client 10.y.z](https://pypi.org/project/kubernetes/10.1.0/): Kubernetes 1.13 or below (+-), Kubernetes 1.14 (✓), Kubernetes 1.14 or above (+-)
- [client 11.y.z](https://pypi.org/project/kubernetes/11.0.0/): Kubernetes 1.14 or below (+-), Kubernetes 1.15 (✓), Kubernetes 1.16 or above (+-)
- [client 12.y.z](https://pypi.org/project/kubernetes/12.0.1/): Kubernetes 1.15 or below (+-), Kubernetes 1.16 (✓), Kubernetes 1.17 or above (+-)
- [client 17.y.z](https://pypi.org/project/kubernetes/17.14.0a1/): Kubernetes 1.16 or below (+-), Kubernetes 1.17 (✓), Kubernetes 1.18 or above (+-)

> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.

Key:

Expand Down Expand Up @@ -115,11 +116,16 @@ between client-python versions.
| 8.0 Alpha/Beta | 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 | |
| 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 | Kubernetes main repo, 1.15 branch | ✓ |
| 12.0 Alpha/Beta | Kubernetes main repo, 1.16 branch | ✗ |
| 12.0 | Kubernetes main repo, 1.16 branch | ✓ |
| 17.0 Alpha/Beta | Kubernetes main repo, 1.17 branch | ✓ |

> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.

Key:

Expand All @@ -130,6 +136,14 @@ Kubernetes supports [three minor releases](https://github.com/kubernetes/communi

Note: There would be no maintenance for alpha/beta releases except the latest one.

**Exception to the above support rule:** Since we are running behind on releases, we will support Alpha/Beta releases for a greater number of clients until we catch up with the upstream version.

## Homogenizing the Kubernetes Python Client versions

The client releases v12 and before following a versioning schema where the major version was 4 integer positions behind the Kubernetes minor on which the client is based on. For example, v12.0.0 is based on Kubernetes v1.16, v11.0.0 is based on Kubernetes v1.15 and so on.

This created a lot of confusion tracking two different version numbers for each client release. It was decided to homogenize the version scheme starting from the Kubernetes Python client based on Kubernetes v1.17. The versioning scheme of the client from this release would be vY.Z.P where Y and Z are the Kubernetes minor and patch release numbers from Kubernets v1.Y.Z and P is the client specific patch release numbers to accomodate changes and fixes done specifically to the client. For more details, refer [this issue](https://github.com/kubernetes-client/python/issues/1244).

## Community, Support, Discussion

If you have any problem on using the package or any suggestions, please start with reaching the [Kubernetes clients slack channel](https://kubernetes.slack.com/messages/C76GB48RK/), or filing an [issue](https://github.com/kubernetes-client/python/issues) to let us know. You can also reach the maintainers of this project at [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery), where this project falls under.
Expand Down Expand Up @@ -174,4 +188,3 @@ This will cause a failure in non-exec/attach calls. If you reuse your api clien
recreate it between api calls that use _stream_ and other api calls.

See more at [exec example](examples/pod_exec.py).

2 changes: 2 additions & 0 deletions devel/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ For more details, see [#974](https://github.com/kubernetes-client/python/issues/

4. Remove the tests directory (ref: https://github.com/kubernetes-client/python/commit/ec9c944f076999543cd2122aff2d86f969d82548). See the [upstream issue](https://github.com/OpenAPITools/openapi-generator/issues/5377) for more information.

5. Add tests for the default `Configuration` behavior (ref: https://github.com/kubernetes-client/python/pull/1303 and https://github.com/kubernetes-client/python/pull/1285). The commit [1ffa61d0650e4c93e0d7f0becd2c54797eafd407](https://github.com/kubernetes-client/python/pull/1285/commits/1ffa61d0650e4c93e0d7f0becd2c54797eafd407) should be cherry-picked.

Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does, then create your PR for review.

Alternatively, you can use the `scripts/apply-hotfixes.sh` script to apply
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/.openapi-generator/swagger.json.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
92a199ec5d6f1d4a6df0bbfe509b5bbd504bba8a817a2e6a4c60e8ba2a0049e8
0207c34bcb3273791113a05aaf332a849628069fc5bf5702651652e4cbd0f531
Loading