Jujens
Jujens

Reputation: 43

Cannot edit GCP load balancer

I deployed a public application in GKE auto-pilot yesterday. Load balancers were correctly provisionned with an HTTPS certificate. My app is correctly reachable.

Now, I want to change the SSL rules of the load balancer. When I try to save it I get a message telling me that all fields must be correct to continue. I don't have a list of errors or fields in error. The button to access problems is hidden despite the message. If I try to edit and save the load balancer without making any modifications, it fails. I tried to edit another load balancer created for GKE and it fails with the same error. I can edit my load balancer that handles redirection from HTTP to HTTPS though.

I tested several times yesterday and again this morning. Any ideas on what the issue can be?

Upvotes: 0

Views: 2939

Answers (2)

Ramesh kollisetty
Ramesh kollisetty

Reputation: 291

Modify the "Host and Path Rules" so that a blue tick can appear. All three checks are required to perform the update.

However we know that this is an interface managed by GKE and manual changes should not be made as indicated here. The client changes will be overwritten by the Ingress configuration in the GKE project.

You need to modify the YAML and alter the certificate there. This link contains how to manage certificates in Google Cloud.

Depending on the type of certificate you are working with, you can choose options that will give you instructions on how to handle the certificates.

If the issue is still not resolved, can you share a screenshot of the error for further investigation.

Upvotes: 1

Alejandro F.
Alejandro F.

Reputation: 473

I am not sure how are you trying to update/modify your Load Balancer. I am guessing your are trying to update this using methods outside of GKE.

Important:

Whenever GKE creates an external HTTP(S) load balancer or internal HTTP(S) load balancer through an Ingress object, you should avoid changing the load balancer's configuration using methods outside of GKE. Your customizations to settings for the load balancer's objects – forwarding rules, target proxies, URL maps, backend services, and health checks – are overwritten when new resources changes are applied, during periodic syncs, or during cluster upgrades. If you need to manage an external HTTP(S) load balancer or internal HTTP(S) load balancer outside of GKE, use container native load balancing for standalone NEGs instead.

Upvotes: 0

Related Questions