-
Notifications
You must be signed in to change notification settings - Fork 304
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
The networking.gke.io/suppress-firewall-xpn-error: true annotation doesn't in combination with kubernetes.io/ingress.global-static-ip-name #569
Comments
Hmmm I can't reproduce this issue.
And the yaml file that I used (.txt added since github doesn't support uploading yaml files): |
@grayluck hm... Can it be because in my Originally documentation had |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@grayluck I'm experience the same problem on GKE 1.11.7-gke.4. I'm applying the following annotations (in the exact order as presented) to my ingress kubernetes.io/ingress.global-static-ip-name: some-name
networking.gke.io/suppress-firewall-xpn-error: "true"
ingress.gcp.kubernetes.io/pre-shared-cert: some-other-name And when I do a
|
@thecodejunkie I don't have a 1.11.7-gke.4 cluster at hand right now. Could you upgrade your cluster to 1.11.7-gke.12 first? I'll try to reproduce this issue in my 1.11.7-gke.12 cluster. |
@thecodejunkie I can't reproduce your issue from within my cluster. Could you tell me which the zone and the name of the cluster to facilitate troubleshooting? Thanks. |
@grayluck the weirdies thing happened. I left it running over night and the warning vanished. I will report back if I observe it again |
My suspicion is that your master is auto upgraded last night and includes the implementation of the annotation. |
@grayluck: You can't close an active issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@grayluck I think you might be right. My master node is now on |
Thanks for the info! I'll go check if the GKE document is accurate about the versions. |
@grayluck I'm closing this based on your comment above. |
I tested on
1.11.3-gke.18
and it seems like there is an issue withnetworking.gke.io/suppress-firewall-xpn-error
annotation: it doesn't seem to work in combination withkubernetes.io/ingress.global-static-ip-name
.If you create a static IP address using
gcloud
and then create a newIngress
resource using a yaml similar to the one below theIngress
resource will be created without bothkubernetes.io/ingress.global-static-ip-name
andnetworking.gke.io/suppress-firewall-xpn-error: true
annotations (at least this is what I see inkubectl describe ingress.extensions/app
).Also for new
Ingress
objects controller will get a new IP address which will be different from what you specify inkubernetes.io/ingress.global-static-ip-name
.Expected result:
Ingress
resource reuses previously reserved IP address (specified by name in thekubernetes.io/ingress.global-static-ip-name
annotation).kubernetes.io/ingress.global-static-ip-name
andnetworking.gke.io/suppress-firewall-xpn-error
annotations inkubectl describe ingress.extensions/app
.Related issue #485 and PR #506
cc @grayluck @rramkumar1
/kind bug
The text was updated successfully, but these errors were encountered: