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

No Istio sidecar injection #175

Open
sl33kr opened this issue Oct 16, 2018 · 2 comments
Open

No Istio sidecar injection #175

sl33kr opened this issue Oct 16, 2018 · 2 comments

Comments

@sl33kr
Copy link

sl33kr commented Oct 16, 2018

Running:
Windows 10 - Hyper-V
minishift v1.25.0+90fb23e
openshift v3.10.0+456651d-57

After following the instructions and applying the add-on I noticed that sidecars aren't being automatically injected.

EDIT: Ok verified looking at the webhook config, this isn't required.
First I discovered you still need to apply the istio-injection=true to the namespace your deploying into, even if you are using pod annotation. oc label namespace myproject istio-injection=enabled

Once I did this I started getting errors from the istio-sidecar-injector:

2018-10-16T23:16:43.786441Z	error	Patch webhook failed: Get https://172.30.0.1:443/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/istio-sidecar-injector:  dial tcp 172.30.0.1:443: connect: connection refused

Is there some extra piece of config I have to set? If I hit the API server externally on the default 8443 install port that endpoint does respond, do I need to change the port internal to the cluster?

@sl33kr
Copy link
Author

sl33kr commented Oct 17, 2018

Most of the time the istio-sidecar-injector actually logs nothing?

@Ganitagya
Copy link

Ganitagya commented Oct 27, 2021

Hi @sl33kr, did you manage to get any resolution to this problem?

Hi @kameshsampath can you please help with this issue?
When I deploy applications to the namespace with label as istio-injection=enabled, I dont see any sidecar proxy to be running in the pod.
Am I missing any configuration?

Thanks

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

No branches or pull requests

2 participants