-
Notifications
You must be signed in to change notification settings - Fork 326
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
ingress-nginx: 'connect-ignore' label not working #912
Labels
type/bug
Something isn't working
Comments
byrneo
changed the title
ingress-nginx: 'connect-ignore' annotation not working
ingress-nginx: 'connect-ignore' label not working
Dec 8, 2021
I built a docker image for the control-plane from the main branch and updated my environment. After applying the kubectl get pod -n ingress-nginx-consul
NAME READY STATUS RESTARTS AGE
ingress-nginx-consul-controller-ddb6988b8-kgn9b 2/2 Running 0 8m2s
ingress-nginx-consul-controller-ddb6988b8-xpg6b 2/2 Running 0 8m2s Sorry for the noise - this unblocks me for now. I'll close the issue! |
Glad that unblocked you. The feature will be released this month. |
rrondeau
pushed a commit
to rrondeau/consul-k8s
that referenced
this issue
Dec 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Community Note
Overview of the Issue
I'm attempting to configure ingress-nginx as the k8s ingress for services which are part of a newly deployed consul-connect service mesh. I understand that there is an existing issue wherein consul won't support multiple services that have selectors for the same pod(s).
To try overcome that, i've used the
consul.hashicorp.com/connect-ignore=true
label as suggested by #592 , However, the two services I attempt to exclude still appear to be (attempting to) register to consul.Reproduction Steps
On EKS v1.18
deploy/config.yml
:versions deployed by above chart:
Install ingress-nginx via helm chart.
Add
consul.hashicorp.com/connect-ignore=true
label to theingress-nginx-consul-controller-admission
andingress-nginx-consul-controller-metrics
servicesLogs
Ingress controller pods won't start:
Logs from consul connect injector suggest that it is not ignoring the two services
ingress-nginx-consul-controller-admission
andingress-nginx-consul-controller-metrics
:Expected behavior
I was hoping that by excluding the two ingress-nginx services (
ingress-nginx-consul-controller-admission
andingress-nginx-consul-controller-metrics
) that consul would successfully enable the ingress-controller pods to start and inject a transparent envoy sidecar as expected.Environment details
as above.
Additional Context
The text was updated successfully, but these errors were encountered: