Skip to content
Discussion options

You must be logged in to vote

sorry. I found the way.

here is the how to solve this problem.

apiVersion: gateway.envoyproxy.io/v1alpha1
kind: BackendTrafficPolicy
metadata:
  name: disable-panic
  namespace: test
spec:
  targetRefs:
  - group: gateway.networking.k8s.io
    kind: HTTPRoute          # or Gateway, GRPCRoute
    name: readiness-demo
  healthCheck:
    panicThreshold: 0  

this makes the gateway return 503 no healty upstaeam.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krju13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant