apiVersion: v1
kind: Service
metadata:
  annotations:
    cloud.google.com/neg: '{"ingress": true}'
  labels:
    app: api
  name: api
spec:
  ports:
    - port: 80
      targetPort: 8080
  selector:
    app: api
  type: LoadBalancer