-
Notifications
You must be signed in to change notification settings - Fork 364
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
Please provide example of multi-cluster container-native load balancing #59
Comments
@naseemkullah As the linked doc explains, GKE load balancers can (and should) be created using Kubernetes objects. Is there a specific ask you have not accommodated by the kubectl tutorial? |
Thanks @morgante, I am new to GCLB (used regional LB fronted nginx-ingress until now) and as my org is working on distributing services globally we want to use the GCLB. Terraform is what we use to deploy GCP resources so I thought it would have to be created via TF. |
No worries! You should be able to use the Kubernetes resources directly (the GKE controller handles creating the GCP resources for you). |
Great, thanks! That saved me a lot of messing around. :) |
@morgante My issue is I want a multi cluster ingress defined declaratively, is this possible without using Terraform? |
Got it, for that case you might want to look at autoneg: https://github.com/GoogleCloudPlatform/gke-autoneg-controller |
You could this today via standalone NEGs + this module with some tweaks (support I do have a large/breaking PR that includes NEG support #57 which includes an example of doing that. You could make a smaller PR that just includes the minimum changes (those backend vars) to support NEGs |
This looks really interesting @morgante |
That's excellent @Dev25 May I ask, once your PR goes through could you please confirm if this is the correct workflow:
|
Yes that would be correct @naseemkullah , once you create the NEG service inside GKE you can figure out the compute engine NEG name (there is a |
Thanks for clarifying, I look forward to your PR being merged! |
As per https://cloud.google.com/kubernetes-engine/docs/how-to/container-native-load-balancing ... thanks!
The text was updated successfully, but these errors were encountered: