-
Notifications
You must be signed in to change notification settings - Fork 68
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
Kubernetes metadata discovery broken on older containerd versions #1155
Comments
In my opinion, if the issue appeared on a Kubernetes clusterr older than v1.22, it should be upgraded, and if it is v1.23 or above, its https://github.com/containerd/containerd/blob/main/RELEASES.md#support-horizon |
I think I’d agree, but our own demo cluster has this issue so it seems that there are plenty of these versions around. The cluster was even pretty recently created on a managed cluster offering. I think we should do our utmost best to support maximum number of versions in use. |
Issues that probably need fixing, at least from a security stand point. I would suggest checking the node images are up-to-date or reach out to the service provider (I guess we are talking about Scaleway) to know why the minimum requirements are not respected and if they can fix it, you are right, it is their responsibility. |
I did some digging and Kubernetes 1.26, which was released two weeks ago, dropped support for v1alpha2, and therefore cri-o and containerd are removing support as well. Having a skew of 4 minor Kubernetes versions supported is kind of the norm within the Kubernetes community, so I think you're right, we're essentially also dropping support for Kubernetes 1.22 and lower. 1.23 and newer clusters should have a newer containerd version anyway. Closing as won't fix. |
Pinning to issue for more visibility. In case someone else comes across it. |
I noticed on the demo instance that even processes that should have Kubernetes metadata do not have it. For example Parca itself:
Enabling debug logging revealed what I believe to be the culprit:
It looks like we recently switched to using the v1 API only (#1118), but there are still lots of containerd v1.5.x versions out there being used that only serve the v1alpha2 API. Since containerd v1.6.x supports both versions of the API, I would suggest that we revert to v1.25 of cri-api (which still has both definitions), and for now always use the v1alpha2 API.
I've also tested this on a cluster that uses containerd 1.6.x and it works as expected there.
The text was updated successfully, but these errors were encountered: