502 Server Error when creating http load balancer in google/GKE
问题 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