envoyproxy / envoyproxy/gateway

TCP Health Check is not working

Abierto
#5,506 2 comentarios 0 reacciones 0 asignados Ver en GitHub
stale triage
Lenguaje dominante
Go
Estrellas
3k
Forks
864
Merge medio
2 d 2 h
PR fusionados (30 d)
140

Descripción

*Description*:
I am trying to setup a TCP health check in BackendTrafficPolicy attached to a TCPRoute, a simple echo server is running as a backend service and prints the messages. TCPRoute is working fine, able to see the message in POD when routed via eg.
However I am not seeing any messages as part of healthcheck.

*Repro steps*:
```
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
metadata:
name: btp
namespace: default
spec:
targetRefs:
- group: gateway.networking.k8s.io
kind: HTTPRoute
name: backend
healthCheck:
passive:
baseEjectionTime: 1s
interval: 1s
maxEjectionPercent: 100
consecutive5XxErrors: 2
consecutiveGatewayErrors: 0
consecutiveLocalOriginFailures: 5
active:
timeout: "1s"
interval: "5s"
unhealthyThreshold: 3
healthyThreshold: 1
type: TCP
tcp: {}
```
```
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TCPRoute
metadata:
name: backend-tcp1
spec:
parentRefs:
- name: eg
namespace: default
rules:
- backendRefs:
- group: ""
kind: Service
name: backend2
namespace: default
port: 3000
```

*Environment*:
Gateway : 1.3.1
Proxy: v1.33.0

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.