Comments (11)
No worries! You should be able to use the Kubernetes resources directly (the GKE controller handles creating the GCP resources for you).
from terraform-google-lb-http.
Got it, for that case you might want to look at autoneg: https://github.com/GoogleCloudPlatform/gke-autoneg-controller
from terraform-google-lb-http.
You could this today via standalone NEGs + this module with some tweaks (support max_*_per_endpoint
backend group vars) + using the NEG datasource
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
from terraform-google-lb-http.
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 cloud.google.com/neg-status
annotation on the kubernetes service) and use that in TF/this module.
from terraform-google-lb-http.
@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?
from terraform-google-lb-http.
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.
My mistake!
from terraform-google-lb-http.
Great, thanks! That saved me a lot of messing around. :)
from terraform-google-lb-http.
@morgante My issue is I want a multi cluster ingress defined declaratively, is this possible without using Terraform?
from terraform-google-lb-http.
Got it, for that case you might want to look at autoneg: https://github.com/GoogleCloudPlatform/gke-autoneg-controller
This looks really interesting @morgante
from terraform-google-lb-http.
You could this today via standalone NEGs + this module with some tweaks (support
max_*_per_endpoint
backend group vars) + using the NEG datasourceI 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
That's excellent @Dev25
May I ask, once your PR goes through could you please confirm if this is the correct workflow:
- Use TF to deploy GKE as well as this module to deploy the LB with backend services
- Use whatever method to deploy your app to GKE, including the standalone NEG annotated service
- Go back to TF and use it to configure this module, with the new standalone NEGs as datasource to be added as NEGS to the backend service created in step 1
from terraform-google-lb-http.
Thanks for clarifying, I look forward to your PR being merged!
from terraform-google-lb-http.
Related Issues (20)
- Serverless Negs Backends don't work as expected HOT 1
- manage backend service timeout in serverless_negs HOT 1
- Provide support to upload multiple customer own certificate HOT 2
- Add support for v5 of google and google-beta providers HOT 7
- cannot create internal load balancer on a subnetwork HOT 2
- Create a sub-module for DNS Authorization-based Managed Certificates HOT 3
- Should be possible change network tier HOT 3
- LB is not re-created when address is assigned after initial creation without address HOT 2
- Issue using certificate map HOT 2
- disable cross region backend test HOT 1
- Add test for cross project backend using new testing framework HOT 5
- Release 9.3.0 for TPG v5 compatibility HOT 1
- enable_ipv6 without create_ipv6_address or ipv6_address creates ipv4 frontends HOT 5
- Source is not setup properly in module nat-mig-http-lb HOT 2
- the mig-nat-http-lb outputs.tf file require a sensitive data HOT 1
- Latest release is breaking HOT 2
- Logs are not disabled properly HOT 2
- Output forwarding rule names HOT 3
- Terraform Cloud - Error creating ManagedSslCertificate HOT 1
- Module requires health_check when some lb configurations do not accept it.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-google-lb-http.