-
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
Unexpected behaviour with SDS / CDS APIs #431
Comments
@timperrett regarding (1), unless I'm reading it incorrectly, that looks correct to me. The APIs are being called anywhere from 30-60s apart (expected w/ jitter). regarding (2), that seems incorrect. Let's talk about it in Gitter. |
For anyone reading this after the fact:
|
…ilter. (envoyproxy#431) Automatic merge from submit-queue. Don't send attributes destination.ip and destination.port from HTTP filter. **What this PR does / why we need it**: **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note ```
fd_read: Always returns ENOSYS fd_fdstat_get: Returns a reasonable response for fds 0 and 1, and EBADF otherwise. Add a "WASI" test configuration to the existing tests that checks for proper implementation of these by testing "fprintf," "fread," and "isatty". Fixes envoyproxy/envoy-wasm#425 Signed-off-by: Gregory Brail <gregbrail@google.com> Signed-off-by: Piotr Sikora <piotrsikora@google.com>
fd_read: Always returns ENOSYS fd_fdstat_get: Returns a reasonable response for fds 0 and 1, and EBADF otherwise. Add a "WASI" test configuration to the existing tests that checks for proper implementation of these by testing "fprintf," "fread," and "isatty". Fixes envoyproxy/envoy-wasm#425 Signed-off-by: Gregory Brail <gregbrail@google.com>
…roxy#431) * finish * fix * fix * fix build * fix * fix
This adds a new `EnvoyMobile.podspec` (unfortunately, "Envoy" is already taken). On `pod install` Cocoapods will download the latest prebuilt framework at /releases unless a specific version is defined in the Podfile. Once this is merged, we'll need to publish our podspec to the Cocoapods trunk. Moving forward, we'll also need to update the version listed in the podspec during the release process. Description: Adds Cocoapods support for distributing the prebuilt Envoy.framework Risk Level: Low Testing: Clone the [test project](https://github.com/cwalo/EnvoyTest) and with this branch checked out locally, run `pod install`. Be sure the two repos sit in the same parent directory (or update the podspec path in the Podfile). Docs Changes: Yes Release Notes: No Fixes: [#125](envoyproxy/envoy-mobile#125) Signed-off-by: JP Simard <jp@jpsim.com>
Description: fixing some formatting issues from #431 Risk Level: low Signed-off-by: Jose Nino <jnino@lyft.com> Signed-off-by: JP Simard <jp@jpsim.com>
This adds a new `EnvoyMobile.podspec` (unfortunately, "Envoy" is already taken). On `pod install` Cocoapods will download the latest prebuilt framework at /releases unless a specific version is defined in the Podfile. Once this is merged, we'll need to publish our podspec to the Cocoapods trunk. Moving forward, we'll also need to update the version listed in the podspec during the release process. Description: Adds Cocoapods support for distributing the prebuilt Envoy.framework Risk Level: Low Testing: Clone the [test project](https://github.com/cwalo/EnvoyTest) and with this branch checked out locally, run `pod install`. Be sure the two repos sit in the same parent directory (or update the podspec path in the Podfile). Docs Changes: Yes Release Notes: No Fixes: [#125](envoyproxy/envoy-mobile#125) Signed-off-by: JP Simard <jp@jpsim.com>
Description: fixing some formatting issues from #431 Risk Level: low Signed-off-by: Jose Nino <jnino@lyft.com> Signed-off-by: JP Simard <jp@jpsim.com>
Hi gang,
I think there may be a few separate issues with the CDS API.
Overly frequent calling of SDS/CDS
The period timer in which Envoy is calling the CDS endpoint seems to be off by an order of magnitude. Given the following config:
This should be 30 seconds between calls, but in the log (I have a local testing harness now to test the CDS/SDS stuff and our custom backend providing the contract Envoy needs):
Envoy appears to be calling these APIs rather frequently - perhaps something is miss configured?
Appending not replacing clusters internally?
/clusters
, i'm not sure if the internal state of SDS/CDS is accurate as there are many duplicates. I've posted the output here: https://gist.github.com/timperrett/773c9c707b54077533ecf7144058cba1 - this to me at least looks as though the same cluster is in memory multiple times. My anticipation would be that there was only a single backend entry.Thanks for your time. Happy to answer any questions on Gitter if this was not sufficient information.
The text was updated successfully, but these errors were encountered: