Skip to content
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

apache-airflow-providers-cncf-kubernetes requires latest kubernetes version #36678

Closed
1 of 2 tasks
paramjeet01 opened this issue Jan 9, 2024 · 13 comments · Fixed by #37040
Closed
1 of 2 tasks

apache-airflow-providers-cncf-kubernetes requires latest kubernetes version #36678

paramjeet01 opened this issue Jan 9, 2024 · 13 comments · Fixed by #37040
Labels
kind:feature Feature Requests provider:cncf-kubernetes Kubernetes provider related issues

Comments

@paramjeet01
Copy link

Description

Update apache-airflow-providers-cncf-kubernetes to use kubernetes latest versions

kubernetes >=21.7.0,<24

Use case/motivation

Kubernetes has released latest versions recently v1.29 but airflow kubernetes is stuck with v1.23 and not compatible with the latest versions.
https://github.com/kubernetes-client/python

Related issues

Since the kubernetes v1.23 has come to end of life and eks is not supporting the version. It would be nice to see upgraded
apache-airflow-providers-cncf-kubernetes

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@paramjeet01 paramjeet01 added kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet labels Jan 9, 2024
Copy link

boring-cyborg bot commented Jan 9, 2024

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@vatsrahul1001 vatsrahul1001 added the provider:cncf-kubernetes Kubernetes provider related issues label Jan 9, 2024
@raphaelauv
Copy link
Contributor

image

@dirrao dirrao removed the needs-triage label for new issues that we didn't triage yet label Jan 9, 2024
@gbonazzoli
Copy link

@paramjeet01 Well said !!!

I also add that working with apache-airflow-providers-cncf-kubernetes on a cluster kubernetes 1.28.x it seems to have logging capture problems duplicating log lines or missing them at all.

Otherall, the XComs examples in python do not work at all !!!

@raphaelauv
Copy link
Contributor

@gbonazzoli

Otherall, the XComs examples in python do not work at all

it works on my side , could you please open a new issue with a reproducible example , thanks

@paramjeet01
Copy link
Author

@raphaelauv , Thanks for the help. The above stated image for future release ?

@gbonazzoli
Copy link

The issue is said to be closed but it seems that apache-airflow-providers-cncf-kubernetes 7.14.0 does not think so.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
apache-airflow-providers-cncf-kubernetes 7.14.0 requires kubernetes<24,>=21.7.0, but you have kubernetes 29.0.0 which is incompatible.

Am I going wrong ?

@raphaelauv
Copy link
Contributor

close cause fix is merged , does not mean it was deploy in a new release

and 7.14.0 is 2 days old , It can't include a fix merged 30 minutes ago

@paramjeet01
Copy link
Author

@raphaelauv When are we planning to release the new version ? or is it automated by pipelines and we wait till then ?

@potiuk
Copy link
Member

potiuk commented Jan 29, 2024

We release our providers roughly every two weeks. Byut if you REALLY want you can easily build your own provider packages we have instructions available to do so - this way you could gest it before and contribute back by verifying if all works as needed.

Do you want links to some instructions there and are you willing to help us with that @paramjeet01 ?

@paramjeet01
Copy link
Author

Yeah , I can check that. Please send me the instructions also could this issue 37090 be related to the provider version

@potiuk
Copy link
Member

potiuk commented Jan 31, 2024

Those are step-by-step instruction release manager does https://github.com/apache/airflow/blob/main/dev/README_RELEASE_PROVIDER_PACKAGES.md#prepare-regular-provider-packages-rc just follow package preparation.

It's ealso explained in detail in the hlelp of breeze commands and the commans are documented here: https://github.com/apache/airflow/blob/main/dev/breeze/doc/09_release_management_tasks.rst#provider-release-commands

@potiuk
Copy link
Member

potiuk commented Jan 31, 2024

#37090 be related to the provider version

Possibly. Generally there is not a single person who might remember or know all the chages to all the providers and be able to authoritatively answer yes/no. This is an open-source projects with ~ 2800 contributors, so it's likely changes and fixes are implemented that are fixing things that others are unaware.

That's what the release notes are, to see if there were fixes that might be related - and generally upgrading to latest versions of everything is a good idea.

And if you can test it and try it yoursef and verify it - even building the latest packages to try things before they get relased, this is the ultimate answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature Feature Requests provider:cncf-kubernetes Kubernetes provider related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants