gcp-load-balancer

502 Server Error when creating http load balancer in google/GKE

喜你入骨 提交于 2021-02-05 11:48:55
问题 My application consists of play web application deployed using GKE. The application was running fine (using Deployment and Loadbalancer service) and then I decided to use Ingress . I made the following changes which has made the application unreachable. I get 502 error when I try to connect with the application using ingress IP. The application is of kind Deployment . apiVersion: apps/v1 kind: Deployment metadata: name: webapp spec: replicas: 2 selector: matchLabels: app: webapp It has a

502 Server Error when creating http load balancer in google/GKE

蓝咒 提交于 2021-02-05 11:48:00
问题 My application consists of play web application deployed using GKE. The application was running fine (using Deployment and Loadbalancer service) and then I decided to use Ingress . I made the following changes which has made the application unreachable. I get 502 error when I try to connect with the application using ingress IP. The application is of kind Deployment . apiVersion: apps/v1 kind: Deployment metadata: name: webapp spec: replicas: 2 selector: matchLabels: app: webapp It has a

How to add HTTPS load balancer for an application deployed using GKE

一笑奈何 提交于 2021-01-07 02:48:55
问题 I have created a Play web application which is now deployed on GCP . The application works fine. I want to add https support in it to secure communication between the client and the server. I know that in GCP , there is an option to create http load balancers but I think they are meant for applications running on VM s/Compute instances directly and not via GKE . Question 1 - Am I correct? I am asking because when I try to configure the load balancer, I don't see reference to my currently