Questions tagged [google-cloud-load-balancer]

241 questions
4
votes
2 answers

Nginx Status Code 499 using Google Cloud Kubernetes TCP Load Balancer

We are running on GKE using a public-facing Nginx Ingress Controller exposed under a TCP Load Balancer which is automatically configured by Kubernetes. The problem is that 0.05% of our requests have status code 499 (An Nginx unique status code which…
3
votes
1 answer

How to get a list of load balancers external ips in google cloud?

Trying to list all external ips for all load balancers per project in gcp.I know how to list all external ips using the below command but I am trying to filter it somehow and keep only LB's gcloud compute addresses list --filter "NOT…
Tina
  • 31
  • 1
  • 2
3
votes
1 answer

Google cloud, how to rewrite load balancer host & path for bucket service so I don't have to nest my files under, example: /files/public?

I know there are a few threads on this issue out there but all of them have answers from 2019 where other behaviours and features were available, for example, at the time you couldn't even add a bucket as a backend service on a load balancer. I'm…
3
votes
1 answer

Django deployed on GKE with Load Balancer cannot be accessed use External IP and Exposed Port

Basically I have this django app which has the pods and loadbalancer services running successfully in GKE. But I cannot access the app through the external IP in load balancer with the port. Firstly here is my pods and load balancer…
3
votes
2 answers

Change the IP address of my LoadBalancer on GKE

I want to change the IP address of my LoadBalancer ingress-nginx-controller in Google Cloud. I have now assigned the IP address via LoadBalancer. See the screenshot. Unfortunately it is not adopted in GKE. Why? Is that a bug? GKE lb IP address…
3
votes
0 answers

ERR_CONNECTION_CLOSED when accessing content behind GCP load balancer on Chrome

I've created a public storage bucket and uploaded a static website into it. I have assigned a load balancer to this bucket, and everything works when I'm using this load balancer's IP address to connect to the website. I'm using HTTP, no SSL…
3
votes
2 answers

Setting up an SSL cert with Google Cloud Load Balancer

I'm trying to setup google cloud load balancer for SSL using a certificate (PositiveSSL) that I generated via a certificate authority. Via the google cloud shell, here is how I generated the key: openssl genrsa -out my-key.key 2048 And here is how…
2
votes
2 answers

Google Cloud Load Balancer suddenly throwing 504 timeouts (despite no change in architecture)

Problem Sometime overnight, my service began throwing 504 errors on longer running (30+ second) requests despite no recent changes in architecture. Setup GCP Cloud Run configured with 3600 second timeout GCP Load Balancer with serverless NEG…
2
votes
2 answers

Google Cloud not Applying the BackendConfig on the Load Balancer Health Check

I have a deployment. The pod container's have no readinessProbe(s), because the healtcheck will be configured using a BackendConfig. The service is as follows: --- apiVersion: v1 kind: Service metadata: name: my-app-service namespace:…
2
votes
0 answers

GCP Loadbalancer: rewrite requests to different domain

i'm trying to do an rewrite in an GCP external LB url map which does the following: domain2/foo/bar/cat.json should be reachable via: domain1/baz/cat.json In terraform i tried it like this, using the hashicorp google provider version 4.39.0. …
2
votes
1 answer

GCP LB monitor healthy nodes count

Google cloud load balancer monitoring dashboard provides number of healthy nodes: Is it any metric / MQL which can be used to create an alert if one node considered as down?
2
votes
1 answer

GCP external HTTP Cloud Load Balancer with nginx-ingress on GKE

my goal is to have EXTERNAL HTTP CLOUD LOAD BALANCER with NGINX INGRESS in our GCP GKE. Im trying solution as Rami H proposed and Google developer Garry Singh confirmed here: Global load balancer (HTTPS Loadbalancer) in front of GKE Nginx Ingress…
2
votes
1 answer

GCP TCP Load Balancer with PROXY Protocol

I am trying to figure out how to enable the proxy protocol header in GKE. Usually, you can do it with gcloud: gcloud compute target-ssl-proxies update my-ssl-lb-target-proxy \ …
2
votes
0 answers

Load balancer scaling

I am quite new to the load balancing scenarios expecially in cloud. We are using load balancers to avoid load to a particular server and to avoid single point of failure . But then how does the load balancer itself scale . Isn't it a single point of…
2
votes
1 answer

Making GCP Load-balancer HTTP logs integrate with Cloud Trace (in GCP Logs Explorer)?

Cloud Trace and Cloud Logging integrate quite nicely in most cases, described in https://cloud.google.com/trace/docs/trace-log-integration Unfortunately, this doesn't seem to include the HTTP request logs generated by a Load Balancer when request…
1
2
3
15 16