-
Notifications
You must be signed in to change notification settings - Fork 2k
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
TLS offload is not working for inner-cluster requests #6426
Comments
Hi @evheniyt thanks for reporting! Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂 Cheers! |
@evheniyt we will try to reproduce the issue and will get back to you |
@evheniyt what version of ➜ kubernetes-ingress git:(main) ✗ kind --version
kind version 0.24.0 |
I'm not using |
What Kubernetes platforms are you running on?
Kind
ok, thanks |
Self-hosted on Hetzner |
@evheniyt wen you tested NIC v3.6.2, what version of NIC Helm chart were you using? |
1.3.2 |
Hi @evheniyt Based on your example
You are making a |
hi @pdabelf5, You are right, api.example.com resolves to Service of the application. The interesting part is that this application listens only on 80 port but I could make https requests and I see a response from nginx ingress controller. So looks like all my requests to the internal IP of the Service are going through the nginx controller. Not sure why exactly it works like this, maybe because of the That behavior stopped working in 3.3.0. |
Hi @evheniyt , Is your need to access https://api.example.com from within the cluster? If so I will try to find working example for you. |
Version
3.6.2
What Kubernetes platforms are you running on?
Kind
What happened?
After updating from 3.2.1 to 3.3.0 (also tried with 3.6.2) we found that TLS offload stopped working for requests that are coming from inside the cluster.
Our coredns is configured to resolve some DNS like
api.example.com
tosvc.cluster.local
address.Like this:
And that setup was working fine with 3.2 version of the controller, and we could successfully request https://api.example.com from inside the cluster.
After updating to a new version of the controller we found that that functionality stopped working (for both
Ingress
andVirtualServer
). At the same time, HTTPS requests outside the cluster works fine. Also, HTTP requests work fine inside the cluster, but HTTPS - doesn't.We are installing controller with helm chart and this values:
The only thing we have added while updating from 0.18.1 chart to 1.0.0 is
hostNetwork: true
without which ingress wasn't working at all.Steps to reproduce
No response
Expected behaviour
No response
Kubectl Describe output
No response
Log output
No response
Contributing Guidelines
The text was updated successfully, but these errors were encountered: