<p>I have a deployment. The pod container's have no readinessProbe(s), because the healtcheck will be configured using a BackendConfig.</p>
<p>The service is as follows:</p>
<pre><code>---
apiVersion: v1
kind: Service
metadata:
  name: my-app-service
  namespace: my-namespace
  annotations:
    cloud.google.com/neg: '{&quot;ingress&quot;: true}'
    cloud.google.com/backend-config: '{&quot;default&quot;: &quot;my-app-backendconfig&quot;}'
spec:
  type: NodePort  
  externalTrafficPolicy: Local  
  ports:
  - name: flower-nodeport-port
    port: 80
    targetPort: 5555
    protocol: TCP
  selector:
    app: my-app
</code></pre>
<p>And this is the BackendConfig to create the health check:</p>
<pre><code>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        
</code></pre>
<p>The problem is that Google Cloud is not applying the healtcheck as I described it.
Check the screenshot below:</p>
<p><a href="https://i.stack.imgur.com/gBgiu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gBgiu.png" alt="enter image description here" /></a></p>
<p>As you can see, values like &quot;Unhealthy threshold&quot; and &quot;Timeout&quot; are not being taken into account.</p>
<p>What am I doing wrong?</p>

<p>your type field on BackendConfig is TCP, docs say only http/https allowed <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#direct_health" rel="nofollow noreferrer">https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#direct_health</a></p>
