Skip to content
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

fix(gce/internalhttplb) BackendServices for InternalHTTPLb is not hadled correctly #8540

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

takaaki7
Copy link
Contributor

@takaaki7 takaaki7 commented Sep 2, 2020

@takaaki7 takaaki7 changed the title fix(gce/internalhttplb) backendservices for internalhttplb is not han… fix(gce/internalhttplb) BackendServices for InternalHTTPLb is not hadled correctly Sep 2, 2020
@spinnakerbot
Copy link
Contributor

The following commits need their title changed:

  • d405078: fix(gce/internalhttplb) backendservices for internalhttplb is not handled correctly

Please format your commit title into the form:

<type>(<scope>): <subject>, e.g. fix(kubernetes): address NPE in status check

This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here.

@takaaki7 takaaki7 marked this pull request as ready for review September 2, 2020 11:29
Copy link
Contributor

@maggieneterval maggieneterval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, @takaaki7! From the issue you created:

BackendService for InternalHTTP must be set at instanceMetadata.region-backend-service-names. But currently it is set at instanceMetadata.backend-service-names

Would you mind elaborating a bit and walking me through this fix? I am not super familiar with this code, and it's tough to feel comfortable merging this change that could potentially break other workflows without a greater understanding given that none of this code is tested or in Typescript.

Thanks!

@xike41
Copy link

xike41 commented Jun 18, 2021

Is there a way to merge this fix?

@emmanuelstroem
Copy link

Thanks for the fix, @takaaki7! From the issue you created:

BackendService for InternalHTTP must be set at instanceMetadata.region-backend-service-names. But currently it is set at instanceMetadata.backend-service-names

Would you mind elaborating a bit and walking me through this fix? I am not super familiar with this code, and it's tough to feel comfortable merging this change that could potentially break other workflows without a greater understanding given that none of this code is tested or in Typescript.

Thanks!

@maggieneterval
I hope this finds you in good health.
I don't suppose @takaaki7 got the chance to explain this.

But Google Cloud Platform has different types of BackendServices (Regional or Global) depending on the type of LoadBalancer one chooses to set up.

There is a detailed table here explaining better than I could with words:
https://cloud.google.com/load-balancing/docs/backend-service

It looks like currently only the global backend service is being catered to.

This PR seems to handling the scenario where there is specifically a regional backendservice configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants