-
Notifications
You must be signed in to change notification settings - Fork 440
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
vCluster Knative Serving Support? #1669
Comments
@dspeck1 thanks for creating this issue! What values.yaml are you using to create the vCluster? Knative should work when installed inside the vCluster, the plugin is just there if you don't want to install it in every vCluster. |
Thanks for helping! Below is config. Please let me know if anything sticks out on the sync settings. Wondering if reconciliation between the parent cluster and the vcluster could be a cause of the issue since the pods are created and torn down frequently in Knative.
|
I can confirm knative works inside vcluster. We have knative + istio installed inside vclusters. Are you running the knative controllers in the host or vclusters? |
Knative Controllers are inside the vCluster. We are running kourier as ingress inside vCluster. Knative works for 95% of requests. Intermittently we see the terminiation/timeout messages detailed above. The requests are all long lived http requests. ~5 to 10 minutes. |
@dspeck1 According to the error stack trace you posted, this was caused by the timeout handler in knative’s queue-proxy sidecar, so I’d suggest opening an issue over at knative/serving. Since 5-10min is quite long for an http request, it’s quite possible you are hitting a timeout in queue-proxy. |
What happened?
Does Knative Serving work and supported inside of a vCluster? Knative Serving will install and we can serve traffic. We see sporadic issues where queue-proxy/user-container pods will fail with no apparent cause and return a 502. Noticed that there is a plugin to sync resources from the parent cluster? Is this because Knative isn't designed to work installed inside of a vCluster. We are using Kourier as our ingress installed inside the vCluster?
What did you expect to happen?
Knative to serve traffic reliably installed inside a vCluster.
How can we reproduce it (as minimally and precisely as possible)?
Install Knative inside a vCluster.
Anything else we need to know?
Termination message is:
Host cluster Kubernetes version
Server Version: v1.27.10
Host cluster Kubernetes distribution
Open Source
vlcuster version
0.18.1
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
k8s
OS and Arch
OS: Red Hat Linux
Arch: x86
The text was updated successfully, but these errors were encountered: