Skip to content

Conversation

@raphaelauv
Copy link
Contributor

#29074 did not updated the K8S support in the README

@raphaelauv
Copy link
Contributor Author

@pierrejeambrun could you review , thank you 👍

@pierrejeambrun
Copy link
Member

pierrejeambrun commented Jan 23, 2023

Hello @raphaelauv,

Thanks for the PR, I am not familiar with our K8S code. #28320 and #28168 were not part of 2.5.1 release, they should make it in 2.6.0.

Looking at https://github.com/apache/airflow/tree/2.5.1 tag, we have:

ALLOWED_KUBERNETES_VERSIONS = ["v1.25.3", "v1.24.7", "v1.23.13", "v1.22.15", "v1.21.14"]

This seems correct, I don't think we should update yet

@potiuk
Copy link
Member

potiuk commented Jan 23, 2023

@pierrejeambrun - @raphaelauv - yes, what we have now is correct approach - we do not change the supported versions of Python and Kubernetes versions in the Patchlevel releases (so once minor 2.N line is started, it will continue supporting the versions that were used in 2.N.0 till the last 2.N.x release). This is a deliberate choice - we want to make sure that users can release all patchlevel releases for their current "minor" line without any hassle at all. Changing supported Python/K8S might mean that in order to install latest patchlevel the user might have to upgrade Python or K8S and we do not want that.

Also our CI supports that - since the #28320 and #28168 were not cherry-picked, the tests we run in v2-5 continue using the same Python & Kubernetes versions for tests, so we can guarantee they work.

From https://github.com/apache/airflow#support-for-python-and-kubernetes-versions

We drop support for Python and Kubernetes versions when they reach EOL. Except for Kubernetes, a version stays supported by Airflow if two major cloud providers still provide support for it. We drop support for those EOL versions in main right after EOL date, and it is effectively removed when we release the first new MINOR (Or MAJOR if there is no new MINOR version) of Airflow. For example, for Python 3.7 it means that we will drop support in main right after 27.06.2023, and the first MAJOR or MINOR version of Airflow released after will not have it.

@potiuk potiuk closed this Jan 23, 2023
@raphaelauv raphaelauv deleted the fix/readme_K8S_support_251 branch January 24, 2023 01:51
@raphaelauv
Copy link
Contributor Author

Thanks @potiuk for the explanation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants