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

Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/inject?timeout=10s": dial tcp 10.96.44.217:443: connect: connection refused #7562

Open
ALPHA-1503 opened this issue Apr 22, 2024 · 1 comment

Comments

@ALPHA-1503
Copy link

ALPHA-1503 commented Apr 22, 2024

/kind bug

Hey everyone,

I'm currently in the process of installing Kubeflow on Tanzu Kubernetes Grid, but I've hit a roadblock with the knative-serving and knative-eventing deployments. The pods aren't initializing due to the following error:

"Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/inject?timeout=10s": dial tcp 10.96.44.217:443: connect: connection refused"

As I'm relatively new to Kubernetes technology, I apologize if I might not grasp all the intricacies of this issue.

image
image
image

  • Kubeflow version: 1.8
  • Kubernetes platform: Tanzu Kurbenetes VMware
  • Kubernetes version: v1.26.4+vmware.wcp.0
  • Ubuntu (for gpu compatibility)
@AndersBennedsgaard
Copy link

This would suggest an issue with Istio, and not Kubeflow, but let's break down the error log:

Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io" suggests that Kubernetes has failed calling the Istio sidecar injector service.

The next line explains that connection refused to the Kubernetes Service istiod in the istio-system namespace on port 443 because of a connection refused:
failed to call webhook: Post "[https://istiod.istio-system.svc:443/inject?timeout=10s](https://istiod.istio-system.svc/inject?timeout=10s)": dial tcp 10.96.44.217:443: connect: connection refused

Often times connection refused means that pods aren't ready to receive traffic at this time. So check if the Istio pods are up and ready.
If it continues failing, you might want to get help from https://github.com/istio/istio/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants