-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Healthcheck not supported for grpc
and grpcs
upstreams
#13336
Comments
@kanbo Actually, ChatGPT suggested a workaround to me, do you want to give it a try? To configure gRPC health checks on an upstream in Kong Gateway 3.2.2, you should use services:
- name: grpc_test
host: grpc_test
connect_timeout: 10000
protocol: grpc
routes:
- strip_path: true
path_handling: v0
preserve_host: true
name: grpc_test
hosts:
- 10.16.156.231
methods:
- GET
- POST
paths:
- /
upstreams:
- name: grpc_test
algorithm: round-robin
hash_on: none
healthchecks:
active:
https_verify_certificate: false
type: tcp
timeout: 3
concurrency: 10
healthy:
successes: 3
interval: 10
unhealthy:
tcp_failures: 3
timeouts: 3
http_failures: 3
interval: 10 This configuration uses |
I have tried but was unsuccessful. When I shut down the upstream service, Kong thought it was still in a healthy state |
I'll take a look at this problem associated to balancer system. |
I reproduce it and disabled timerng hook for the API
|
Discussed in #13335
Converting this back to an issue as it really is a bug. Internal ticket: KAG-4871
Originally posted by kanbo July 4, 2024
Is there an existing issue for this?
Kong version (
$ kong version
)Kong 3.2.2
Current Behavior
error.log
kong declarative_config :
Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: