Skip to content

GCE: Converting ephemeral IP to static doesn't update related TargetHTTPSProxy #259

@kimroen

Description

@kimroen

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:

  1. The TargetHTTPSProxy didn't use the static IP automatically as I was expecting
  2. The kubernetes.io/ingress.global-static-ip-name annotation on the Ingress needs to be set when converting the IP
  3. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions