Comments (5)
I'm happy to submit a PR if the suggestion is reasonable :)
from envoy.
Can you explain the problem in a bit more detail and provide the config that is problematic?
I think the tests in https://github.com/envoyproxy/envoy/blob/main/test/integration/hds_integration_test.cc are covering the right cases, no?
from envoy.
Correct me if I'm mistaken but I don't see an any tests in https://github.com/envoyproxy/envoy/blob/main/test/integration/hds_integration_test.cc that use a gRPC health check specifier, only different forms of HTTP and TCP.
To restate the problem: I want to use the health discovery service to configure a gRPC health check
but the config fails due to the validation at https://github.com/envoyproxy/envoy/blob/main/source/common/upstream/health_checker_impl.cc#L70 which requires the upstream cluster to be explicitly configured with the HTTP/2 feature.As far as I can tell the health discovery service does not offer a means for setting the HTTP/2 feature on an upstream cluster and so I'm at an impasse.
If that doesn't clear it up I can provide a config.
from envoy.
I see. I might have mistaken that with these test https://github.com/envoyproxy/envoy/blob/main/test/integration/health_check_integration_test.cc.
Can you provide a config?
from envoy.
Here is a sample config:
{
"cluster_health_checks": [
{
"cluster_name": "my-cluster",
"health_checks": [
{
"timeout": {
"seconds": 1
},
"interval": {
"seconds": 1
},
"unhealthy_threshold": {
"value": 1
},
"healthy_threshold": {
"value": 1
},
"HealthChecker": {
"GrpcHealthCheck": {}
},
"no_traffic_interval": {
"seconds": 1
}
}
],
"locality_endpoints": [
{
"endpoints": [
{
"address": {
"Address": {
"SocketAddress": {
"address": "10.0.0.1",
"PortSpecifier": {
"PortValue": 3000
}
}
}
}
}
]
}
]
}
],
"interval": {
"seconds": 2
}
}
from envoy.
Related Issues (20)
- New CEL convenience function: random() HOT 5
- Newer release available `com_github_c_ares_c_ares`: v1.31.0 (current: cares-1_20_1)
- Perf issue with c-ares DNS resolver HOT 2
- Control Weighted Cluster Weights via Runtime config
- Question about request_mirroring#disable_shadow_host_suffix_append HOT 2
- Garbled characters are displayed when setting cookie attribute HOT 1
- Qus: Does envoy support connecting to upstream Redis with TLS enabled? HOT 2
- Newer release available `com_github_zlib_ng_zlib_ng`: 2.1.7 (current: 2.0.7)
- Newer release available `io_bazel_rules_go`: v0.48.1 (current: v0.46.0)
- Newer release available `rules_python`: 0.33.2 (current: 0.32.2)
- CONNECT-UDP in forwarding proxy mode resets stream and fails to send HTTP Datagrams HOT 1
- Regarding use of envoy api along with envoy api dependencies HOT 1
- Newer release available `com_github_wasmtime`: v22.0.0 (current: v9.0.3)
- ext_proc: should return 504 on timeout error HOT 1
- Does envoy supports configuring upstream application layer protocol? HOT 1
- Clean up Stats header import of MemoryTest
- Newer release available `aspect_bazel_lib`: v2.7.8 (current: v2.7.7)
- Newer release available `com_github_bufbuild_buf`: v1.34.0 (current: v1.32.2)
- Newer release available `com_github_datadog_dd_trace_cpp`: v0.2.2 (current: v0.2.1)
- Newer release available `io_opentelemetry_cpp`: v1.16.0 (current: v1.14.2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from envoy.