I have a deployment. The pod container's have no readinessProbe(s), because the healtcheck will be configured using a BackendConfig.
The service is as follows:
---
apiVersion: v1
kind: Service
metadata:
  name: my-app-service
  namespace: my-namespace
  annotations:
    cloud.google.com/neg: '{"ingress": true}'
    cloud.google.com/backend-config: '{"default": "my-app-backendconfig"}'
spec:
  type: NodePort  
  externalTrafficPolicy: Local  
  ports:
  - name: flower-nodeport-port
    port: 80
    targetPort: 5555
    protocol: TCP
  selector:
    app: my-app
And this is the BackendConfig to create the health check:
apiVersion: cloud.google.com/v1
kind: BackendConfig
metadata:
  name: my-app-backendconfig
  namespace: my-namespace
  labels:
    app: my-app
spec:
  healthCheck:
    checkIntervalSec: 20
    timeoutSec: 1
    healthyThreshold: 1
    unhealthyThreshold: 5
    type: TCP        
The problem is that Google Cloud is not applying the healtcheck as I described it. Check the screenshot below:
As you can see, values like "Unhealthy threshold" and "Timeout" are not being taken into account.
What am I doing wrong?
