-
Hi All, I'm using kong(3.5.0)/KIC(3.0.2) version in okd (openshift) cluster, We only use the KIC in our usecases and never deployed kong gateway. Now I want to add kong gateway as well without disturbing the existing setup. In documentation it says "Install Gateway API CRDs before installing Kong Ingress Controller", so how to do that for existing setup? Thanks Even I tried installing on top of this and I see below result. But how to verify now the gateway is working?
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 7 replies
-
hi @pmalek @tao12345666333 could you guys take a look at this issue? or is there some one who can take a look at it. thanks |
Beta Was this translation helpful? Give feedback.
-
@balait4 Can you share the installation steps that you're following?
That's surprising to hear. KIC is used to configure Kong (as in the API Gateway instances). What's your use case if you're not using Kong Gateway together with KIC? Did you mean Gateway API by any chance? Are you trying to use the operator that's described in https://docs.konghq.com/gateway-operator/? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply! yes
|
Beta Was this translation helpful? Give feedback.
-
ok this doc also mentioned that "Install the Gateway API CRDs before installing Kong Ingress Controller." So we have existing kong with KIC. Now I installed this CRDs and created " gatewayclass.gateway.networking.k8s.io/kong" and |
Beta Was this translation helpful? Give feedback.
-
we have 2 kong running in same namespace for review and staging. Getting below error in pod logs. review: KIC env
|
Beta Was this translation helpful? Give feedback.
-
Do we need to create 2 gateway one with review KIC name and one with staging KIC name?
|
Beta Was this translation helpful? Give feedback.
-
Only the below config is working. But what is I want to use this from other namespace apart from kong namespace.
I tried setting
I have this gateway only for staging using env CONTROLLER_GATEWAY_TO_RECONCILE. when the above change is breaking both staging and reveiw kong deployment. Eventhough there is no CONTROLLER_GATEWAY_TO_RECONCILE in reveiw to use this gateway. Also the Gateway status is |
Beta Was this translation helpful? Give feedback.
-
I tried in version
I feel this issue comes when we have 2 deployments (review/staging) in same kong namespace. Somehow its not routing even we set |
Beta Was this translation helpful? Give feedback.
-
Here is my deployment file for both instance of my test cluster.. My developement cluster is still KIC 3.0.2 where facing the same issue. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the support. After I upgrade my kong and KIC to latest version, I could see the HTTPRoutes and able to route now. Thanks |
Beta Was this translation helpful? Give feedback.
KIC 3.1.0 introduced a flag
--gateway-to-reconcile
which allows you to set a singleGateway
which it should reconcile.You can use that to designate each of those KIC instances/deployments to reconcile their own isolated
Gateway
.You can also use an env variable as described in https://docs.konghq.com/kubernetes-ingress-controller/latest/reference/cli-arguments/#environment-variables