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

Deprecation of unsupported kubernetes versions #224

Closed
blockjesper opened this issue Jan 25, 2024 · 8 comments · Fixed by #225
Closed

Deprecation of unsupported kubernetes versions #224

blockjesper opened this issue Jan 25, 2024 · 8 comments · Fixed by #225
Assignees

Comments

@blockjesper
Copy link
Contributor

blockjesper commented Jan 25, 2024

Problem

The FIAAS Deploy Daemon (FDD) currently supports a wide range of Kubernetes versions, including some that are quite old and no longer maintained by the Kubernetes community, GCP, or AWS. This broad support range is slowing our development process and preventing us from leveraging new and improved APIs available in newer Kubernetes versions. An example is that we could simply bump the API version of the HPA to autoscaling/v2, and easier get support for scaling on metrics, if we don't support unsupported versions of kubernetes.

Proposed Solution

We propose supporting Kubernetes versions that are supported by either of Kubernetes (CNCF), GCP, and AWS continuously.

This will allow us to move forward faster, taking advantage of new Kubernetes features, and improve the overall efficiency of our development process.

Impact

Users who are running earlier versions of Kubernetes would need to upgrade their Kubernetes cluster before installing newer versions of FDD.

Example:
If implemented today (2024-01-25), it would mean that versions of kubernetes earlier than 1.24 would be unsupported today, and from 2024-02-01, versions older than 1.25, as this is a rolling schedule.

Next Steps

We understand this change may impact some users, and we're open to discussion on how to make this transition as smooth as possible. Please share your thoughts and concerns in the comments below.

Deprecation Timeline

We plan to implement this change in the next minor release of FDD. We recommend users to update their Kubernetes to a supported version if you want to update to a newer FDD version.

@herodes1991
Copy link
Contributor

herodes1991 commented Jan 25, 2024

Should we open another issue to clean the code for deprecated versions?
i.e: v1beta1 ingress, v1beta1 deployment, v1beta1 CRDs...

@oyvindio
Copy link
Member

Nice write up, I think this sounds good 👍

We propose deprecating support for Kubernetes versions that are older than all of those currently supported by Kubernetes (CNCF), GCP, and AWS in FDD. This will allow us to move forward faster, take advantage of new Kubernetes features, and improve the overall efficiency of our development process.

I think it could also be stated that we should strive to continuously support the Kubernetes versions that are supported by Kubernetes upstream, by GCP/GKE and AWS/EKS, and that versions that are no longer supported by these instances are not explicitly supported in fiaas-deploy-daemon either.

@oyvindio
Copy link
Member

Should we open another issue to clean the code for deprecated versions? i.e: v1beta1 ingress, v1beta1 deployment, v1beta1 CRDs...

I think that makes sense as well; I created some tickets to track clean up of v1beta1 Ingress (#227) and v1beta1 CustomResourceDefinition APIs (#226). I don't think there are references to extensions/v1beta1 Deployment in fiaas-deploy-daemon, but feel free to create a ticket if I'm missing something there.

@blockjesper
Copy link
Contributor Author

blockjesper commented Jan 26, 2024

Should we open another issue to clean the code for deprecated versions? i.e: v1beta1 ingress, v1beta1 deployment, v1beta1 CRDs...

I think that makes sense as well; I created some tickets to track clean up of v1beta1 Ingress (#227) and v1beta1 CustomResourceDefinition APIs (#226). I don't think there are references to extensions/v1beta1 Deployment in fiaas-deploy-daemon, but feel free to create a ticket if I'm missing something there.

I found a reference to Deployment extensions/v1beta1 as well here

so I created a ticket for removing Deployment v1beta1 as well #228 .

@blockjesper
Copy link
Contributor Author

I think it could also be stated that we should strive to continuously support the Kubernetes versions that are supported by Kubernetes upstream, by GCP/GKE and AWS/EKS, and that versions that are no longer supported by these instances are not explicitly supported in fiaas-deploy-daemon either.

Good idea. I've added it now. 👍

@blockjesper
Copy link
Contributor Author

Oh, merging the PR closed the issue as well. Not really intended in this case. Comments still welcome 😄

@blockjesper blockjesper reopened this Jan 26, 2024
@blockjesper
Copy link
Contributor Author

I've done the clarification suggestions by @oyvindio mentioning that this is continuously updating the supported versions of Kubernetes.

@blockjesper
Copy link
Contributor Author

Now it's been a week a nobody against this policy. So this is now official.

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 a pull request may close this issue.

3 participants