-
Notifications
You must be signed in to change notification settings - Fork 319
Description
This could be user error or issues with documentation, but I was encouraged to make an issue after first commenting on the help document I was following, so here goes:
I was going through this tutorial on getting an Ingress set up, and then later ran into some issues getting TSL-termination working. When visiting the domain using https://, the browser didn't get a response from the server.
After some head-scratching, I realized the problem I was having was that the TargetHTTPSProxy and TargetHTTProxy had different IP-addresses, so HTTPS-traffic never reached my URL map.
Step 5 of the document linked above explains how to convert the ephemeral IP you get when creating the Ingress to a static one. I had followed this advice, but only the TargetHTTPProxy was using this static IP, and the TargetHTTPSProxy was still using an ephemeral IP that had changed.
Some speculation on a few different things the problem could be:
- The TargetHTTPSProxy didn't use the static IP automatically as I was expecting
- The
kubernetes.io/ingress.global-static-ip-nameannotation on the Ingress needs to be set when converting the IP - HTTP and HTTPS were already using different IP-addresses before I converted and I just didn't notice I was only converting one of them
Hopefully that helps!