-
Notifications
You must be signed in to change notification settings - Fork 168
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
google: intermediate configuration for load balancing #67
Conversation
2778349
to
9b84c4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so, I would prefer to have all the functions on the []Function{}
so, it's easy, add a Name
which if defined overrides the default one, so you can define the others.
Also, did you regenerate all the resources after the changes on the ComputeURLMap
and so?
da312e0
to
2503180
Compare
e9fdf83
to
56a5fb7
Compare
@xescugc I rewrite the template to add more flexibility. Now, we are able to generate all the resources added in this PR :) ready for review ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small note regarding typo due to rephrasing
LGTM, RS when @xlr-8 says it. |
since we can have different service names and functions name depending on the Google SDK resource name, we need to be able to customize this. If the Google SDK resource is TargetHttpProxy, the service name will be TargetHttpProxies since the function name will be ListTargetHTTPProxies
in this commit, we added a few new components: * URLMap * TargetHTTPProxy * TargetHTTPSProxy * SSLCertificate
de79f82
to
a9b0a8b
Compare
In this PR:
Following google documentation:
HTTP(S) load balancer has 3 parts:
Backend configuration (#64 )
A backend service directs incoming traffic to an instance group. You can also use a storage bucket to serve content.
For now, I just implemented instance_group + backend_service + health_check components.
Host and path rules (this PR)
Host and path rules determine how your traffic will be directed. If you don't specify any rules, traffic will be sent to the default backend service.
target_http(s)_proxy, url_map and ssl_certificate (for https)
Frontend configuration
Your IP address, protocol and port. This is the IP to which your client requests will come in to.
More information here