When we use Kong operator v0.9.0, kong v2.5, kong-ingress-controller v2.0, it seems the gateway-kong-proxy service doesn't work for for operand/cr on ocp 4.8.
Here is log from ingress-controller container of operand/cr pod
It shows it is waiting service=katamari/gateway-kong-proxy, but the service seems has already been created.
Also when we use the gateway-kong-proxy service touching other components, all components return 404 response.
➜ oc logs gateway-kong-7df8584799-k8hwd -c ingress-controller
time="2021-12-03T13:19:07Z" level=info msg="admission webhook server disabled"
time="2021-12-03T13:19:07Z" level=info msg="diagnostics server disabled"
time="2021-12-03T13:19:07Z" level=info msg="starting controller manager" commit=e2a1a8dfdf57fc145c85cabedfe67b83e2e301c5 logger=setup release=2.0.6 repo="https://github.com/Kong/kubernetes-ingress-controller.git"
time="2021-12-03T13:19:07Z" level=info msg="getting the kubernetes client configuration" logger=setup
W1203 13:19:07.781217 1 client_config.go:615] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
time="2021-12-03T13:19:07Z" level=info msg="getting the kong admin api client configuration" logger=setup
time="2021-12-03T13:19:07Z" level=error msg="tag filtering disabled because Kong Admin API does not support tags" error="making HTTP request: Get \"https://localhost:8444/tags\": dial tcp [::1]:8444: connect: connection refused" logger=setup
time="2021-12-03T13:19:07Z" level=info msg="configuring and building the controller manager" logger=setup
time="2021-12-03T13:19:08Z" level=info msg="Metrics server is starting to listen" addr=":10255" logger=controller-runtime.metrics
time="2021-12-03T13:19:08Z" level=info msg="Starting Proxy Cache Server" logger=setup
time="2021-12-03T13:19:08Z" level=info msg="Starting Enabled Controllers" logger=setup
I1203 13:19:09.583385 1 request.go:665] Waited for 1.115541665s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/discovery.k8s.io/v1beta1?timeout=32s
I1203 13:19:19.783340 1 request.go:665] Waited for 11.314685437s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/management.ibm.com/v1alpha1?timeout=32s
time="2021-12-03T13:19:23Z" level=info msg="Starting health check servers" logger=setup
time="2021-12-03T13:19:23Z" level=info msg="Starting anonymous reports" logger=setup
time="2021-12-03T13:19:23Z" level=info msg="Starting resource status updater" logger=setup
time="2021-12-03T13:19:23Z" level=info msg="Starting manager" logger=setup
time="2021-12-03T13:19:23Z" level=info msg="Starting metrics server" path=/metrics
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.ingress reconciler group=networking.k8s.io reconciler kind=Ingress source="kind source: *v1.Ingress"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.ingress reconciler group=networking.k8s.io reconciler kind=Ingress
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.service reconciler group= reconciler kind=Service source="kind source: *v1.Service"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.service reconciler group= reconciler kind=Service
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.kongplugin reconciler group=configuration.konghq.com reconciler kind=KongPlugin source="kind source: *v1.KongPlugin"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.kongplugin reconciler group=configuration.konghq.com reconciler kind=KongPlugin
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.secret reconciler group= reconciler kind=Secret source="kind source: *v1.Secret"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.secret reconciler group= reconciler kind=Secret
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.udpingress reconciler group=configuration.konghq.com reconciler kind=UDPIngress source="kind source: *v1beta1.UDPIngress"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.udpingress reconciler group=configuration.konghq.com reconciler kind=UDPIngress
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.kongconsumer reconciler group=configuration.konghq.com reconciler kind=KongConsumer source="kind source: *v1.KongConsumer"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.kongconsumer reconciler group=configuration.konghq.com reconciler kind=KongConsumer
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.kongingress reconciler group=configuration.konghq.com reconciler kind=KongIngress source="kind source: *v1.KongIngress"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.kongingress reconciler group=configuration.konghq.com reconciler kind=KongIngress
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.endpoints reconciler group= reconciler kind=Endpoints source="kind source: *v1.Endpoints"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.endpoints reconciler group= reconciler kind=Endpoints
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.kongclusterplugin reconciler group=configuration.konghq.com reconciler kind=KongClusterPlugin source="kind source: *v1.KongClusterPlugin"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.kongclusterplugin reconciler group=configuration.konghq.com reconciler kind=KongClusterPlugin
time="2021-12-03T13:19:23Z" level=info msg="Starting EventSource" logger=controller.tcpingress reconciler group=configuration.konghq.com reconciler kind=TCPIngress source="kind source: *v1beta1.TCPIngress"
time="2021-12-03T13:19:23Z" level=info msg="Starting Controller" logger=controller.tcpingress reconciler group=configuration.konghq.com reconciler kind=TCPIngress
time="2021-12-03T13:19:23Z" level=info msg="LoadBalancer type Service for the Kong proxy is not yet provisioned, waiting..." service=katamari/gateway-kong-proxy
time="2021-12-03T13:19:24Z" level=info msg="LoadBalancer type Service for the Kong proxy is not yet provisioned, waiting..." service=katamari/gateway-kong-proxy
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.secret reconciler group= reconciler kind=Secret worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.endpoints reconciler group= reconciler kind=Endpoints worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.kongconsumer reconciler group=configuration.konghq.com reconciler kind=KongConsumer worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.ingress reconciler group=networking.k8s.io reconciler kind=Ingress worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.kongplugin reconciler group=configuration.konghq.com reconciler kind=KongPlugin worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.tcpingress reconciler group=configuration.konghq.com reconciler kind=TCPIngress worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.kongingress reconciler group=configuration.konghq.com reconciler kind=KongIngress worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.service reconciler group= reconciler kind=Service worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.kongclusterplugin reconciler group=configuration.konghq.com reconciler kind=KongClusterPlugin worker count=1
time="2021-12-03T13:19:24Z" level=info msg="Starting workers" logger=controller.udpingress reconciler group=configuration.konghq.com reconciler kind=UDPIngress worker count=1
time="2021-12-03T13:19:25Z" level=info msg="LoadBalancer type Service for the Kong proxy is not yet provisioned, waiting..." service=katamari/gateway-kong-proxy
time="2021-12-03T13:19:26Z" level=info msg="LoadBalancer type Service for the Kong proxy is not yet provisioned, waiting..." service=katamari/gateway-kong-proxy
time="2021-12-03T13:19:27Z" level=info msg="LoadBalancer type Service for the Kong proxy is not yet provisioned, waiting..." service=katamari/gateway-kong-proxy
... repeat the last message
➜ oc get pod
NAME READY STATUS RESTARTS AGE
gateway-kong-7df8584799-k8hwd 2/2 Running 1 62m
ibm-kong-operator-76df9f9455-skxcf 1/1 Running 0 1d
➜ oc get svc -owide
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
gateway-kong-proxy LoadBalancer 172.30.211.49 <pending> 80:32689/TCP,443:32007/TCP,6443:32013/TCP 120m app.kubernetes.io/component=app,app.kubernetes.io/instance=gateway,app.kubernetes.io/name=kong
When we use Kong operator v0.9.0, kong v2.5, kong-ingress-controller v2.0, it seems the
gateway-kong-proxy
service doesn't work for for operand/cr on ocp 4.8. Here is log from ingress-controller container of operand/cr pod It shows it is waitingservice=katamari/gateway-kong-proxy
, but the service seems has already been created. Also when we use thegateway-kong-proxy
service touching other components, all components return 404 response.