Questions tagged [google-cloud-load-balancer]

241 questions
1
vote
3 answers

Is google cloud platform removed some option in Google Cloud SSL/HTTPS Load Balancer?

Can anyone help me that I am using load balancer in google cloud platform but here I am not able to properly install ssl. Only certificate chain and private key box is showing not public key box. Why it is happening ? Is I have missed something or…
1
vote
1 answer

CORS policy issue with GKE ingress

We are facing an error related of CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Is there any way to allow it from gce-ingress annotations…
1
vote
1 answer

GCP Load balancer "failed_to_connect_to_backend" for concurrent requests

I have recently moved to GCP Load balancer from nginx. With nginx I never failed issue of "failed to connect to backend". After moving from nginx to GCP Load Balancer I have started getting multiple occurances of 502 error which is either connection…
1
vote
1 answer

GCP VM in same region not able to Ping Internal HTTPS Load Balancer IP created with GKE internal LB ingress

I have a GKE cluster deployed with version 1.20.10-gke.1600. I have created the internal ingress with GCE and I got the internal ip assigned to my internal ingress. However, I am not able to ping to this internal ingress IP from the VM in same…
1
vote
2 answers

Limit SSL protocols to be used by Google HTTP(S) LoadBalancer with Kubernetes Ingress in GKE

We are using Kubernetes v1.19.13 hosted on Google Kubernetes Engine. We want to configure an Ingress controller so that the Google HTTP(S) LoadBalancer is configured to allow only TLS 1.2 and 1.3 and these…
1
vote
1 answer

Configuring google Cloud Load balancer and managed SSL without downtime

objective: Moving a website to Google Cloud with a load balancer using Google's managed SSL without downtime. current configuration: A Google Load Balancer with unmanaged instance group that currently has 1 VM. The website is using a cpanel which…
1
vote
1 answer

GKE Kubernetes LoadBalancer returns connection reset by peer

i have encountered a strange problem with my cluster in my cluster i have a deployment and a Loadbalancer service exposing this deployment it worked like a charm but suddenly the Loadbalancer started to return an error: curl: (56) Recv failure:…
1
vote
1 answer

How to create a dns name in GCP and make it work for load balancer?

I created a load balancer in GCP and wrapped the ip address with some dns name. But when I hit the dns name, it does not work. I verified at console and could see, 'cloud dns' section of gcp, having. loadbalancergcp.example.com. A 300…
1
vote
1 answer

How to use one GCP load balancer for two subdomains?

I want to create a LAMP site that also has a separate bucket on a subdomain. Basically, mysite.com and downloads.mysite.com. And, I want to put them both on the same load balancer and SSL certificate. I know how to create the http(s) load balancer…
1
vote
1 answer

HTTP-to-HTTPS redirect in Google Cloud Load Balancer doesn't work for multiple domains

I'm unable to redirect HTTP-traffic to HTTPS for 2 domains that point to the same load balancer setup. While the redirect for http://domain1.com is working fine, on http://domain2.com the following error is shown: Setup Load balancer with a single…
1
vote
1 answer

How to debug a 502 error in GCP LoadBalancer

I have a k8s ingress with more than 5 backend services behind it. The ingress spawns a GoogleCloud LoadBalancer. Each of the services is routed traffic to by an http path rule. Eg. one app is on /foo, another is on /bar, etc. All of them work fine.…
1
vote
3 answers

TCP Load balancer connection refused when reaching from backend service to load balancer

We have a google cloud setup currently that has a backend service (a managed instance group of 3 vm machines) sitting behind a TCP load balancer. In the frontend configuration we have a static external ip address that redirects traffic to port 6443…
1
vote
1 answer

Attempting to change Cloud CDN cache mode to "Use origin settings ..." causes error "Invalid value for field 'resource.cdnPolicy.defaultTtl': '0'"

I have a Backend service for which I would like to change the Cloud CDN "Cache mode". The current setting is "Force cache all content". This looks as follows: When I attempt to change it to "Use origin settings based on Cache-Control headers": I…
runeks
  • 1,745
  • 2
  • 17
  • 26
1
vote
2 answers

Regular expressions in GCLB Url Map

I need to create the following rules in Google cloud load balancer: /en/example /ar/example /.../example Such as the 2 letters represents a locale. I couldn't find a way to setup regular expressions in the load-balancer url-map. How could this be…
1
vote
0 answers

GKE Multi zone workload not being balanced to all zones

Running into an issue with my GKE cluster. I've got a workload running on the cluster with nodes across multiple zones, however it seems since very recently (~7am 15th Feb) most (~90%) traffic is directed to only one of the three zones (eu-west2…