Skip to content
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

Multiple Knative endpoint in the same route will cause the pod continuously restart #1257

Closed
weimeilin79 opened this issue Feb 7, 2020 · 1 comment · Fixed by #1289
Closed
Assignees
Milestone

Comments

@weimeilin79
Copy link

I tried a CBR pattern to call Knative serving services.
But I see very funny behaviour with the Camel K instance, it keeps terminating and restarting into an infinite loop.

.when().simple("${body.genuses} == 'xxx'")
  .marshal(jacksonDataFormat)
  .to("knative:endpoint/xxx")
.otherwise()
   .to("knative:endpoint/yyy")

Is that something that I should not do?

@nicolaferraro
Copy link
Member

I'd be surprised if that didn't work. I guess you've checked that there aren't multiple operators contending the resource.

Do you see some error logs when the pods start?

We should add a CBR example to the e2e tests.

@nicolaferraro nicolaferraro added this to the 1.0.0-RC2 milestone Feb 7, 2020
@nicolaferraro nicolaferraro self-assigned this Feb 21, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Feb 21, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Feb 21, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Feb 21, 2020
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants