In kubernetes v1.26.4 installed Istio v1.18.0 in that addon tool kiali deployed but it's throwing liveness and readiness probes failed and getting connection refused error

kubectl describe po kiali -n istio-system
Events:
Warning Unhealthy 19s (x11 over 2m49s) kubelet Readiness probe failed: Get “http://192.168.213.115:20001/kiali/healthz”: dial tcp 192.168.213.115:20001: connect: connection refused
Warning Unhealthy 19s (x6 over 2m49s) kubelet Liveness probe failed: Get “http://192.168.213.115:20001/kiali/healthz”: dial tcp 192.168.213.115:20001: connect: connection refused
Normal Killing 19s (x2 over 109s) kubelet Container kiali failed liveness probe, will be restartedkiali logs :
kubectl logs kiali-74cb56bfbb-lgq9h -n istio-system
W0719 18:02:10.787459 1 reflector.go:324] pkg/mod/k8s.io/client-go@v0.24.2/tools/cache/reflector.go:167: failed to list *v1beta1.Gateway: the server could not find the requested resource (get gateways.gateway.networking.k8s.io)
E0719 18:02:10.787500 1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.24.2/tools/cache/reflector.go:167: Failed to watch *v1beta1.Gateway: failed to list *v1beta1.Gateway: the server could not find the requested resource (get gateways.gateway.networking.k8s.io)(edited)

1 Like

it looks like it’s looking for the Gateway API resource… Can you try deploying that?

kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \
  { kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.6.2" | kubectl apply -f -; }

Hi @peterj ! thanks for your responce
Already deployed Gateway API resource… but getting same issue in kiali,


i deleted gateway api resources then kiali is came up and running
thanks @peterj

I’m glad it’s working but I’m not sure wht it was failing with the Gateway API CRDs installed. It seems that maybe there was some sort of issue with the CRDs. Ensure you are running a version of Kiali compatible with Istio 1.18 (Kiali 1.67+, I’d suggest the latest release, 1.71), and that the version of the CRDs is correct.

I have error.
I try run

kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \
  { kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.6.2" | kubectl apply -f -; }

And kiali works
Thanks!

Which version of github.com/kubernetes-sigs/gateway-api/config/crd for istio 1.18.5 and kiali 1.73 ?