Drop support for Kubernetes version < 1.21 ? #269
erikgb
started this conversation in
Development
Replies: 2 comments 8 replies
-
@erikgb I would take under consideration the cloud providers support for k8s versions as well , here are the current supported k8s releases : |
Beta Was this translation helpful? Give feedback.
2 replies
-
Totally agree @erikgb. If the users need to support the old clusters they can use the starboard operator untill they have upgraded there k8s version. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With Kubernetes 1.25 right around the corner, I created #221 - as it turns out that some APIs currently used in trivy-operator will be removed with the release of K8s 1.25. Since I am pretty sure we want to support K8s 1.25, I think we are left with two choice:
Also relevant to this discussion is the proposed solution to #228 suggested in #228 (comment).
My personal opinion is that we could drop support for Kubernetes versions that are past EOL, which means that we should drop support for K8s version < 1.21, ref. https://endoflife.date/kubernetes. I fear that the code required to extend support for older versions in a controller with such a big fan-out as trivy-operator, will add significant complexity that will result in annoying bugs and make things a lot harder to maintain and improve!
WDYT? Are you running clusters based on Kubernetes pre version 1.21?
Beta Was this translation helpful? Give feedback.
All reactions