-
Notifications
You must be signed in to change notification settings - Fork 99
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
Kourier crashes on Raspberry Pi k3s cluster with "Out of memory trying to allocate internal tcmalloc data" #971
Comments
I've also tried using Contour and the same happens with the contour-internal and contour-external envoy pods from v1.2.0 |
@nak3 @ZhiminXiang Do you folks know anything about this? |
@GJKrupa I agree that it is an issue of Envoy w/ ARM64. I would reach out to Envoy upstream (as you have already did). I think it is not a Knative issue so there is nothing we can do for this. |
Absolutely it's an Envoy issue but would it be possible to add an override that allows a specific Envoy image tag to be used in the same way that the ConfigMaps can be modified? Reverting to version 1.16 is an effective workaround for the problem since that version works on arm64. |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
Hi @GJKrupa Sorry for the delay. You can replace the envoy image with apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
config:
network:
ingress-class: kourier.ingress.networking.knative.dev
ingress:
kourier:
enabled: true
registry:
override:
kourier-gateway: docker.io/envoyproxy/envoy:v1.16-latest However Envoy 1.16 is already EOL[1] and I don't recommend that you keep using the old Envoy version. I believe that it is better to fix the Envoy issue rather than using this workaround. |
Thanks. This is exactly what I was looking for. I'll use this same config option to switch to 1.23 once they release a fix for a different ARM64 issue: envoyproxy/envoy#22384 |
Describe the bug
Kourier gateway fails to start on Raspberry Pi 4 k3s cluster. The gateway pod crashes with the following error:
Expected behavior
KNative should start up with a working Kourier gateway
To Reproduce
Knative release version
v1.2.0
Additional context
This cluster was running fine previously with KNative 0.25.1 and KNative Kourier v0.25.0. The issue appears to be a version of Envoy proxy built with a version of tmalloc that doesn't support ARM64. See google/tcmalloc#33 for details.
My cluster is made of of four Raspberry Pi 4s with 8GB RAM each. Prometheus monitoring on the cluster shows that no node is using more than 29% of its available RAM.
The text was updated successfully, but these errors were encountered: