-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Knative Eventing requires CNI mode set to true #3853
Comments
@lionelvillard it looks like this is a specific requirement for minikube? In that case, I'm not sure it belongs in our core docs. |
I had to enable hairpin mode in the CNI (kube-router) I am using in my k8s cluster. Hairpin mode was specifically required for using
|
/priority high |
I think more info is required here, since I could only find the comment about fixing it for minikube: kubernetes/minikube#1568 (comment) @lionelvillard can you please provide an explanation of what CNI is, why it needs to be set, and how to set it? Thanks. |
I'm not a networking guy. Maybe @markusthoemmes can help? |
@lionelvillard Why is the dispatcher need to connect to itself in the first place? Are all dispatchers required this? |
cc @nak3 can you help with this one maybe? |
I think we should specifically ask users to enable hairpin traffic rather than CNI. And the setting for the hairpin traffic depends on their Cluster/CNI. So, I'd add the following sentence to the eventing installation docs:
For "Some eventing components", we can replace it with imc-dispatcher if we know only imc-dispatcher needs it as @csantanapr asked 😸 @abrennan89 @lionelvillard @Shashankft9 What do you think? |
@csantanapr its mostly related to how sequences work, so in the case of sequence following the example here: https://knative.dev/docs/eventing/flows/sequence/sequence-reply-to-event-display/, if I create a sequence and check the services created:
so the dispatcher runs the first sink in the sequence, then for the second sink it tries to connect to So what @nak3 sugggested for the installation docs makes sense, or particularly add this in the sequence docs. I am not aware if this could be required anywhere else, but atleast putting this in sequence would be a good start. |
This issue is stale because it has been open for 90 days with no |
Describe the change you'd like to see
When installing Knative Eventing, the prerequisite section should mention that the CNI mode should be set to true.
Additional context
Add any other context or screenshots about the feature request here.
knative/eventing#2039
The text was updated successfully, but these errors were encountered: