knative / serving

Kubernetes-based, scale-to-zero, request-driven compute
https://knative.dev/docs/serving/
Apache License 2.0
5.57k stars 1.16k forks source link

Can't set knative correctly #15440

Open sterziev88 opened 3 months ago

sterziev88 commented 3 months ago

Ask your question here:

Hello, how to use knative with already deployed istio with its own gw and vs. I want to use istio's gateway and virtual service which will forward traffic to knative service. But at the moment I am not able to set it correctly. Can someone helm me?

skonto commented 2 months ago

Hi @sterziev88 I am not sure about your setup, but one of the requirements is that you need to make sure that Knative Gateways (included in the released net-istio.yaml) are selecting the right ingressgateway pods. Also make sure that you don't have any policies that block traffic (just start with no policies in a test setup). Have you tested the installation first with a dedicated Istio setup (not shared one) to make sure its working? cc @ReToCode

ReToCode commented 2 months ago

Without more insights in your set-up it's hard to say why it is not working. In general, you can use https://knative.dev/docs/install/installing-istio/#configuring-the-installation to configure Knative to use existing gateways. Just make sure that whatever you configure is compatible with the gateways we would deploy (see the link from Stavros and look for the Gateway resources).

skonto commented 2 weeks ago

Hi @sterziev88 could you pls provide more input about the setup?